[SERVER-84087] Make sure ExecutorPool gets terminated after migrations have completed Created: 12/Dec/23  Updated: 03/Jan/24  Resolved: 14/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.2.0, 4.4.0, 5.0.0, 6.0.0, 7.0.0, 7.2.0
Fix Version/s: 7.2.1, 7.3.0-rc0, 7.0.5

Type: Bug Priority: Major - P3
Reporter: Robert Sander Assignee: Robert Sander
Resolution: Fixed Votes: 0
Labels: car-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2, v7.0, v6.0, v5.0, v4.4
Sprint: CAR Team 2023-12-25
Participants:
Linked BF Score: 32

 Description   

When the system is being shutdown, it might happen that migrations are still ongoing [in cleanup], while the ExecutorPool they schedule work on gets terminated. In order to prevent this, we should make sure that all migrations have completed before the ExecutorPool they use terminates.



 Comments   
Comment by Githook User [ 03/Jan/24 ]

Author:

{'name': 'Robert Sander', 'email': 'robert.sander@mongodb.com', 'username': 'robsndr'}

Message: SERVER-84087 Make sure the ExecutorPool gets terminated after joining the migration util executor

(cherry picked from commit fbcc593e99ee8178295c1cd0808ad775d3e01b90)
Branch: v7.2
https://github.com/mongodb/mongo/commit/d33e0349354e1b8ee19d3d41968a821c90f04e6a

Comment by Githook User [ 19/Dec/23 ]

Author:

{'name': 'Robert Sander', 'email': 'robert.sander@mongodb.com', 'username': 'robsndr'}

Message: SERVER-84087 Make sure the ExecutorPool gets terminated after joining the migration util executor

(cherry picked from commit fbcc593e99ee8178295c1cd0808ad775d3e01b90)

GitOrigin-RevId: 39a0481f61bbca447f9b83ad48c584c0351e66fc
Branch: v7.0
https://github.com/mongodb/mongo/commit/41db59ea348f9d465436b4603e4ab3e28352d40b

Comment by Githook User [ 14/Dec/23 ]

Author:

{'name': 'Robert Sander', 'email': 'robert.sander@mongodb.com', 'username': 'robsndr'}

Message: SERVER-84087 Make sure the ExecutorPool gets terminated after joining the migration util executor

GitOrigin-RevId: fbcc593e99ee8178295c1cd0808ad775d3e01b90
Branch: master
https://github.com/mongodb/mongo/commit/ef5230e818f503325be259eb820b717b2b853100

Generated at Thu Feb 08 06:54:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.