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

Support allowPartialResults in new mongos read path

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: