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

FlowControlTicketRefresher can shut down before _minOfCheckpointAndOldestTimestampListener, causing a hang

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0-rc2, 4.3.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Execution Team 2019-07-01
    • Linked BF Score:
      31

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: