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

FlowControlTicketRefresher can shut down before _minOfCheckpointAndOldestTimestampListener, causing a hang

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

      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.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: