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

Mongos applies errors received from config server as config server errors, rather than a shard the config server calls and returns the error from

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc3
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10, Sharding 2016-10-31, Sharding 2016-11-21

      ShardRemote::updateReplSetMonitor marks a host as not master on InterruptedDueToReplStateChange errors. However, a mongos can send a command to the config, which then sends to a shard, and the shard returns the error, but the mongos marks the config server as not master.

      This is generally true of all errors that are interpreted as the first contacted server's fault, not any subsequent servers that are called down the line.

      This is an issue for existing config commands that forward commands to the shards and return that result (like the balancer!)

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: