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

return error if collMod provides a UUID that does not match the UUID of the collection specified

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.1, 3.7.1
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.6
    • Sprint:
      Storage 2017-12-04
    • Linked BF Score:
      0

      Description

      We turn collMods into noops if the UUID doesn't match, but really this means there is a bug:
      https://github.com/mongodb/mongo/blob/bace2a3017ebd46ca96cc81f48f039b80e00d92a/src/mongo/db/catalog/coll_mod.cpp#L428-L443

        Attachments

          Activity

            People

            Assignee:
            xiangyu.yao Xiangyu Yao (Inactive)
            Reporter:
            judah.schvimer Judah Schvimer
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: