[SERVER-56525] Make thread pool for submitting range deletion tasks a decoration on ServiceContext Created: 30/Apr/21  Updated: 29/Oct/23  Resolved: 28/May/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc2, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-51708 submitRangeDeletionTask should handle... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-05-31
Participants:
Linked BF Score: 141

 Description   

This would make it possible to shutdown and restart the migrationutil::getMigrationUtilExecutor() thread pool between C++ test cases. RangeDeleterTest::tearDown() in range_deletion_util_test.cpp is currently problematic because it doesn't prevent a task from starting to run while the ServiceContext is being destroyed, nor does it prevent a task from starting to run while the (static storage duration) logv2 subsystem is being destroyed.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 11/Jun/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-56525 Make thread pool for submitting range deletion tasks a decoration on ServiceContext
Branch: v5.0
https://github.com/mongodb/mongo/commit/af8d5f6061c7199357cbb6b911a1cabe1a5d7b96

Comment by Githook User [ 28/May/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-56525 Make thread pool for submitting range deletion tasks a decoration on ServiceContext
Branch: master
https://github.com/mongodb/mongo/commit/267abecb4ec46030a9b85194b9367a1410f1968a

Comment by Githook User [ 10/May/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-56525 temporarily disable MigrationUtilTest and RangeDeleterTest under Windows
Branch: master
https://github.com/mongodb/mongo/commit/e8bfaf02a443e05780c621c2946c8e78a63f0647

Generated at Thu Feb 08 05:39:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.