summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2021-12-17 16:48:50 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-17 16:25:32 +0000
commit6bbc27d8fe2d8f1128fc8b76ea9c89c04a858aea (patch)
treed783daba08ca15802ce1e3f587ca751e5aa83791
parentda10567348cf7883e2ec40a441e38efc17c23385 (diff)
downloadmongo-6bbc27d8fe2d8f1128fc8b76ea9c89c04a858aea.tar.gz
SERVER-61880 Remove TODOs to create a single defragmentation thread client
-rw-r--r--src/mongo/db/s/balancer/balancer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/s/balancer/balancer.cpp b/src/mongo/db/s/balancer/balancer.cpp
index a036be29088..46273df8d3a 100644
--- a/src/mongo/db/s/balancer/balancer.cpp
+++ b/src/mongo/db/s/balancer/balancer.cpp
@@ -393,7 +393,6 @@ void Balancer::_consumeActionStreamLoop() {
mergeAction.collectionVersion)
.thenRunOn(*executor)
.onCompletion([this, mergeAction](const Status& status) {
- // TODO (SERVER-61880) Remove this ThreadClient
ThreadClient tc(
"BalancerDefragmentationPolicy::acknowledgeMergeResult",
getGlobalServiceContext());
@@ -415,7 +414,6 @@ void Balancer::_consumeActionStreamLoop() {
.thenRunOn(*executor)
.onCompletion([this, dataSizeAction](
const StatusWith<DataSizeResponse>& swDataSize) {
- // TODO (SERVER-61880) Remove this ThreadClient
ThreadClient tc(
"BalancerDefragmentationPolicy::acknowledgeDataSizeResult",
getGlobalServiceContext());