diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-05-20 07:53:35 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-05-20 07:53:35 -0400 |
commit | 1b28b6142589ec2ef578d9d22fb3f55b3b04a5e7 (patch) | |
tree | 087aaba236dc9a0862f8354980712897cc3e97cd /src/mongo/s/balance.h | |
parent | 3457b02cac481448cab957de4124c085470f206d (diff) | |
download | mongo-1b28b6142589ec2ef578d9d22fb3f55b3b04a5e7.tar.gz |
Revert "SERVER-18124 Remove usage of SyncClusterConnection from the balancer"
This reverts commit 3457b02cac481448cab957de4124c085470f206d.
Diffstat (limited to 'src/mongo/s/balance.h')
-rw-r--r-- | src/mongo/s/balance.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/balance.h b/src/mongo/s/balance.h index 9c7fd5a5b7d..1b99c96f6db 100644 --- a/src/mongo/s/balance.h +++ b/src/mongo/s/balance.h @@ -38,6 +38,7 @@ namespace mongo { class BalancerPolicy; + class DBClientBase; struct MigrateInfo; struct WriteConcernOptions; @@ -91,7 +92,7 @@ namespace mongo { * @param conn is the connection with the config server(s) * @param candidateChunks (IN/OUT) filled with candidate chunks, one per collection, that could possibly be moved */ - void _doBalanceRound(std::vector<boost::shared_ptr<MigrateInfo>>* candidateChunks); + void _doBalanceRound(DBClientBase& conn, std::vector<boost::shared_ptr<MigrateInfo>>* candidateChunks); /** * Issues chunk migration request, one at a time. |