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

Write concern accepts embedded replica set tagset

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2021-12-27, Server Serverless 2022-01-10, Server Serverless 2022-01-24
    • 150

    Description

      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 } } }
      )
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: