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

Collections clustered by _id need to reject duplicate _id values

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2021-04-19

      Inserts into WiredTigerRecordStore set the "overwrite" cursor flag to true in all cases.

      Regular collections with a separate _id index reject duplicate _id values by setting the "overwrite" flag to false.

      This is likely not problematic for time-series collections because they use ObjectId, but collisions are possible.

      For clustered collections only, set the "overwrite" flag to false.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: