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

Some commands fail when a shard they need to talk to has no primary, even when they are okay to run on secondaries

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • ALL
    • Sharding 16 (06/24/16), Sharding 2020-04-20

      Some query-like commands (such as distinct) will fail when one of the shards it targets has no primary, even when using 'secondary' read preference.

        1. repro.js
          1 kB
          Spencer Brody

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: