summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/balancer/balancer.h
diff options
context:
space:
mode:
authorPaolo Polato <paolo.polato@mongodb.com>2022-01-20 08:52:07 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-20 09:19:37 +0000
commit4662350c7b426e3287f95f0cc8cc22e3f49d8851 (patch)
tree691c6998a95102dc1b0363166d966b6bc6b3a90f /src/mongo/db/s/balancer/balancer.h
parent3442107452815689c48ccb7dc8d5e06399d342df (diff)
downloadmongo-4662350c7b426e3287f95f0cc8cc22e3f49d8851.tar.gz
SERVER-61727: implementation of Collection defragmentation Phase 2
Diffstat (limited to 'src/mongo/db/s/balancer/balancer.h')
-rw-r--r--src/mongo/db/s/balancer/balancer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/s/balancer/balancer.h b/src/mongo/db/s/balancer/balancer.h
index 45008947c8d..8b7fc7469c7 100644
--- a/src/mongo/db/s/balancer/balancer.h
+++ b/src/mongo/db/s/balancer/balancer.h
@@ -278,7 +278,9 @@ private:
* Schedules migrations for the specified set of chunks and returns how many chunks were
* successfully processed.
*/
- int _moveChunks(OperationContext* opCtx, const MigrateInfoVector& candidateChunks);
+ int _moveChunks(OperationContext* opCtx,
+ const MigrateInfoVector& chunksToRebalance,
+ const MigrateInfoVector& chunksToDefragment);
// Protects the state below
Mutex _mutex = MONGO_MAKE_LATCH("Balancer::_mutex");