diff options
author | Paolo Polato <paolo.polato@mongodb.com> | 2022-01-20 08:52:07 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-20 09:19:37 +0000 |
commit | 4662350c7b426e3287f95f0cc8cc22e3f49d8851 (patch) | |
tree | 691c6998a95102dc1b0363166d966b6bc6b3a90f /src/mongo/db/s/balancer/balancer.h | |
parent | 3442107452815689c48ccb7dc8d5e06399d342df (diff) | |
download | mongo-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.h | 4 |
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"); |