diff options
Diffstat (limited to 'src/mongo/db/s/balancer/balancer_chunk_selection_policy.h')
-rw-r--r-- | src/mongo/db/s/balancer/balancer_chunk_selection_policy.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/s/balancer/balancer_chunk_selection_policy.h b/src/mongo/db/s/balancer/balancer_chunk_selection_policy.h index 5aed229c202..0c00c3c5730 100644 --- a/src/mongo/db/s/balancer/balancer_chunk_selection_policy.h +++ b/src/mongo/db/s/balancer/balancer_chunk_selection_policy.h @@ -74,7 +74,10 @@ public: * Potentially blocking method, which gives out a set of chunks to be moved. */ virtual StatusWith<MigrateInfoVector> selectChunksToMove( - OperationContext* opCtx, stdx::unordered_set<ShardId>* unavailableShards) = 0; + OperationContext* opCtx, + const std::vector<ClusterStatistics::ShardStatistics>& shardStats, + stdx::unordered_set<ShardId>* availableShards) = 0; + /** * Given a valid namespace returns all the Migrations the balancer would need to perform |