[SERVER-30471] ServiceExecutorAdaptive should honor the shutdown grace period Created: 01/Aug/17  Updated: 30/Oct/23  Resolved: 22/Sep/17

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

Type: Bug Priority: Major - P3
Reporter: Jonathan Reams Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-09-11, Platforms 2017-10-02
Participants:
Linked BF Score: 0

 Description   

Right now the AdaptiveServiceExecutor doesn't honor the shutdown grace period for ASAN's graceful shutdown, which means that commands that shutdown via the shutdown command will hang forever waiting for the thread running the shutdown command to finish.



 Comments   
Comment by Githook User [ 23/Sep/17 ]

Author:

{'email': 'kaloian.manassiev@mongodb.com', 'name': 'Kaloian Manassiev', 'username': 'kaloianm'}

Message: SERVER-30471 Fix broken lint rule
Branch: master
https://github.com/mongodb/mongo/commit/7cd1ff301f9190f893b79007878baaa6b281f21c

Comment by Githook User [ 22/Sep/17 ]

Author:

{'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin', 'username': 'henrikedin'}

Message: SERVER-30471 Service executors take a timeout in shutdown to honor shutdown grace period.
Add shutdown of service entry point, service executors and transport layer for mongos when built with ASAN.
Branch: master
https://github.com/mongodb/mongo/commit/12eb869725f4cefd94f3b4a7e1292f82691ad301

Comment by Jonathan Reams [ 15/Sep/17 ]

As part of this ticket, we should also add the ASAN graceful shutdown to mongos.

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