[SERVER-13768] sharded listDatabases command not tolerant of replica sets being down Created: 28/Apr/14 Updated: 06/Dec/22 Resolved: 14/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Using "show databases" in a cluster can result in "exception: ReplicaSetMonitor no master found for set" if a replica set primary is down. In larger clusters, this is distracting and may happen regularly. s/commands_admin.cpp::CmdListDatabases uses a helper "Shard::runCommand()" which should probably be eliminated. |
| Comments |
| Comment by Kaloian Manassiev [ 14/Jun/18 ] |
|
With the introduction of retries for queries in support of the continuous stepdown suite, this is no longer a problem. |