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

mongos suppresses WriteConcernError for findAndModify

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • ALL

      The mongos does not return WriteConcernError for findAndModify.

      To reproduce: Setup a shard cluster of three nodes; create an unsharded or sharded collection and insert documents; stop one secondary replica from responding; send a findAndModifyCommand with writeConcern {w: 3, wtimeout: 1000}. The command response should include a WriteConcernError "WriteConcernTimeout".

      This issue was discovered as part of the testing in SERVER-80103. Despite the fix for SERVER-97470, this test is still missing the WCE for sharded and unsharded collections.

            Assignee:
            Unassigned Unassigned
            Reporter:
            israel.hsu@mongodb.com Israel Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: