[SERVER-61880] Remove TODOs to create a single defragmentation thread client Created: 03/Dec/21  Updated: 29/Oct/23  Resolved: 20/Dec/21

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

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

The acknowledgement functions from the commands submitted from the balancer defragmentation policy all run on an executor. Currently, we are using a ThreadClient per callback. We should unify this to do something similar to what the primary only service does.

Since the defragmenter is relying on the fixed executor thread pool that is used by many other components we can't set a default thread client for all the newly spawned thread.



 Comments   
Comment by Githook User [ 17/Dec/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-61880 Remove TODOs to create a single defragmentation thread client
Branch: master
https://github.com/mongodb/mongo/commit/6bbc27d8fe2d8f1128fc8b76ea9c89c04a858aea

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