JournalFlusher can interrupt write concern with ShutdownInProgress during rollback

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0, 4.4.2
    • Affects Version/s: None
    • Component/s: Replication, Storage
    • None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-09-07
    • 11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This is both a problem because write_concern_after_stepdown.js expects a stepdown error code, and because it is semantically the wrong error code. Write concern waiting calls StorageControl::waitForJournalFlush(opCtx);. This does not have an interrupt point, though it will throw when the catalog is shutdown. We should either tell it what error code to throw when we shut down the catalog or make it interruptible.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: