renameCollection should re-register the source collection's UUID when interrupted

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.0.0-rc1, 4.1.1
    • Component/s: Catalog
    • ALL
    • Storage NYC 2018-12-31, Storage NYC 2019-01-28
    • 115
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      It is possible to interrupt a renameCollection from "source" to "target" such that the UUID of "source" is no longer mapped to "source", but nothing at all.

      This can cause an invariant when using collMod to access the collection by UUID.

      The UUIDCatalog::onRenameCollection observer correctly implements this behavior, but because UUIDCatalog::onCreateCollection is called before the onRenameCollection observer is called, this leaves the UUID catalog in an incorrect state.

            Assignee:
            Xiangyu Yao (Inactive)
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: