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

Write concern accepts embedded replica set tagset

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2021-12-27, Server Serverless 2022-01-10, Server Serverless 2022-01-24
    • 150

      Support requesting acknowledgement that a write operation has propagated to a specified number of tagged nodes, without requiring users to define a custom write concern in the replica set config. Accept a write concern with the custom write concern specification embedded in the w option:

      db.collection.insertOne(
         { id: "xyz", status: "A" },
         { writeConcern: { w: { "dc_va": 2, "dc_ca": 1 } } }
      )
      

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: