diff options
author | Greg Studer <greg@10gen.com> | 2012-10-17 16:03:53 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2012-10-17 16:06:01 -0400 |
commit | bb65b80897797e3dc1fe96076fb6c13f6d7260c5 (patch) | |
tree | 27aab90c243acdcd287db4aea6120ab667462be2 /src/mongo/s/balance.h | |
parent | eb5bf5b804ee4f20ab5c9e5a77674fe051889f76 (diff) | |
download | mongo-bb65b80897797e3dc1fe96076fb6c13f6d7260c5.tar.gz |
SERVER-7376 make all migration cleanup async unless explicitly specified otherwise
Diffstat (limited to 'src/mongo/s/balance.h')
-rw-r--r-- | src/mongo/s/balance.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/s/balance.h b/src/mongo/s/balance.h index 98221c5d4db..26b471913e0 100644 --- a/src/mongo/s/balance.h +++ b/src/mongo/s/balance.h @@ -82,9 +82,13 @@ namespace mongo { * Issues chunk migration request, one at a time. * * @param candidateChunks possible chunks to move + * @param secondaryThrottle wait for secondaries to catch up before pushing more deletes + * @param waitForDelete wait for deletes to complete after each chunk move * @return number of chunks effectively moved */ - int _moveChunks( const vector<CandidateChunkPtr>* candidateChunks , bool secondaryThrottle ); + int _moveChunks( const vector<CandidateChunkPtr>* candidateChunks, + bool secondaryThrottle, + bool waitForDelete ); /** * Marks this balancer as being live on the config server(s). |