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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Judah Schvimer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: