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

Commands that do writes on mongos should take a writeConcern and aggregate results

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.5
    • Sharding, Write Ops
    • None
    • Fully Compatible
    • Sharding 10 (02/19/16), Sharding 11 (03/11/16), Sharding 12 (04/01/16), Sharding 13 (04/22/16)

    Description

      Currently only write commands and user management commands handle writeConcern on mongos. They forward the command to each shard and then aggregate the responses and errors back together. Every command that does writes should do this. Commands just need to make sure that writeConcern is sent with the command to each shard and if multiple writeConcernErrors are returned, they need to be combined. If multiple error codes are returned, the error code should be 64 (writeConcernError).

      Attachments

        Issue Links

          Activity

            People

              judah.schvimer@mongodb.com Judah Schvimer
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: