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

FlowControlTicketRefresher can shut down before _minOfCheckpointAndOldestTimestampListener, causing a hang

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • Execution Team 2019-07-01

    Description

      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.

      Attachments

        Activity

          People

            maria.vankeulen@mongodb.com Maria van Keulen
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: