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

collMod interruption may cause invariant failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.5, 4.0.0
    • Catalog, Storage
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Storage NYC 2018-05-07
    • 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

            geert.bosch@mongodb.com Geert Bosch
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: