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

Collections clustered by _id need to reject duplicate _id values

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-04-19

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: