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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.1, 3.7.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • v3.6
    • Storage 2017-12-04
    • 0

      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

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

              Created:
              Updated:
              Resolved: