Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13768

sharded listDatabases command not tolerant of replica sets being down

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • ALL

      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.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: