FlowControlTicketRefresher can shut down before _minOfCheckpointAndOldestTimestampListener, causing a hang

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Execution Team 2019-07-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When the PeriodicRunner gets shut down, the shutdown will stall if an existing Periodic Job is running and hanging. Shut down of the FlowControlTicketRefresher job can cause global IX lock acquisitions to hang (see SERVER-41345). Since the _minOfCheckpointAndOldestTimestampListener job takes a global IX lock, if the FlowControlTicketRefresher shuts down while the _minOfCheckpointAndOldestTimestampListener is waiting on the IX lock acquisition, shutdown can still stall. 

      A fix for this issue is to move the disabling of Flow Control ticket acquisitions to before the PeriodicRunner shutdown.

              Assignee:
              Maria van Keulen
              Reporter:
              Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: