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

Support allowPartialResults in new mongos read path

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Querying, Sharding
    • None
    • Fully Compatible
    • QuInt A (10/12/15)

      OP_QUERY style find accepts an option called partial, documented here. If set, mongos will return partial results when a shard is down rather than returning an error to the client.

      In order to support this flag in 3.2, we need to do the following:

      1. The find command should accept a parameter called allowPartialResults.
      2. The AsyncResultsMerger in the new mongos read path should avoid propagating the error if only some of the shards can be contacted and allowPartialResults is set.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: