[SERVER-41749] FlowControlTicketRefresher can shut down before _minOfCheckpointAndOldestTimestampListener, causing a hang Created: 14/Jun/19  Updated: 14/Jun/19  Resolved: 14/Jun/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: Maria van Keulen
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-41751 FlowControlTicketRefresher can shut d... Closed
Operating System: ALL
Sprint: Execution Team 2019-07-01
Participants:

 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.


Generated at Thu Feb 08 04:58:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.