[SERVER-7220] need better error messages when a shard is down Created: 01/Oct/12 Updated: 06/Dec/22 Resolved: 21/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Usability |
| Affects Version/s: | 3.0.0, 3.2.0, 3.4.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Dwight Merriman | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding
|
| Participants: |
| Description |
|
here we should show the hostname not the IP address. sometimes we do show the hostname. the shard was configured with a logical name no by ip. also it would be nice if we tell you which shard # this is.
also in the below it would be nice to say something like: "dm_hp:27001" : "Unreachable" rather than { }. if multiple shards down (imagine i have 300) that would be helpful.
|
| Comments |
| Comment by Gregory McKeon (Inactive) [ 21/Mar/18 ] | ||||||||||
|
We've since rewritten this code path, and the error message has improved. | ||||||||||
| Comment by Kaloian Manassiev [ 07/Nov/16 ] | ||||||||||
|
With the changes to move mongos towards commands in version 3.2 and higher, the socket errors around createIndex and other administrative commands have been improved so they will at least show the offending host for ease of investigation:
I am leaving this ticket open for us to improve the messaging and get rid of the confusing "result without error message returned". | ||||||||||
| Comment by Kevin J. Rice [ 15/Mar/13 ] | ||||||||||
|
We run with ~50 shards. Compact/helpful err msgs would be nice, esp. if message is not 'unreachable'. | ||||||||||
| Comment by auto [ 04/Oct/12 ] | ||||||||||
|
Author: {u'date': u'2012-10-04T13:08:31-07:00', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}Message: | ||||||||||
| Comment by auto [ 04/Oct/12 ] | ||||||||||
|
Author: {u'date': u'2012-10-04T10:31:40-07:00', u'email': u'dwight@10gen.com', u'name': u'Dwight'}Message: |