Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14978

Global Clusters in Atlas: With SERVER-42390 write can be made without full shard key

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • Atlas
    • None
    • CET: Quokka (7 - 13 Dec 21), CET: Reindeer (14 - 20 Dec 21), CET: Urchin (4 - 10 Jan 22), CET: Vicuña (11 - 17 Jan 22)
    • true

    Description

      SERVER-42390 introduced in 4.4 allows documents to be written if a full shard key is not used. However the documentation still says this:

      Each write to a sharded collection must include the shard key for the operation to succeed

      This statement is not true anymore. Writes can succeed but the resulting documents will fail to be distributed if the location field is not present.

      Attachments

        Activity

          People

            james.sanchez@mongodb.com James Sanchez (Inactive)
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            James Sanchez James Sanchez (Inactive)
            Caleb Thompson Caleb Thompson
            Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              39 weeks, 2 days ago