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

FlowControlTicketRefresher can shut down before _minOfCheckpointAndOldestTimestampListener, causing a hang

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0-rc2, 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Execution Team 2019-07-01
    • 31

      When the PeriodicRunner gets shut down during clean shutdown, 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 is to move the bypass handling of Flow Control ticket acquisitions to occur 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: