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

Ensure catalog teardown works properly on shutdown

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None

    Description

      Currently we have an invariant in the destructor of the TransactionCoordinator that it has triggered all promises waiting on it, which basically amounts to the coordinator being in a state where it has decided to commit or to abort. I think this currently might be a problem if we shut down suddenly while there are coordinators in progress. We may need to run through all the coordinators on destruction and call "tryAbort", or else this invariant could be triggered.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: