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

applyOps with collMod may remove UUIDs from collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 3.6.0-rc8, 3.7.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Storage 2017-12-04
    • 0

      The following command may remove UUIDs from collections, even if in 3.6 FCV:

      db.runCommand({applyOps: [{ns: "test.$cmd", op: "c", o: {collMod: "col"}}]})
      { "applied" : 1, "results" : [ true ], "ok" : 1 }
      

      2017-11-30T11:38:12.809-0500 I ACCESS [conn1] Successfully authenticated as principal sajack on test
      2017-11-30T11:38:16.371-0500 I COMMAND [conn1] Removing UUID 3bf5c40d-a25a-478e-bb91-fb6f762d504c from collection test.col

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: