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

collMod interruption may cause invariant failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.5, 4.0.0
    • Component/s: Catalog, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Storage NYC 2018-05-07
    • Linked BF Score:
      45

      Description

      At https://github.com/mongodb/mongo/blob/68005e0ffcc50c9260a162b717aaa5c2225096da/src/mongo/db/catalog/coll_mod.cpp#L445
      we register an onRollback handler that calls refreshUUID to undo an update to the cached UUID value of the Collection object. However, this requires a storage read, which is not allowed during rollback.

      Instead, the Collection::refreshUUID method should register its own rollback handler.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: