summaryrefslogtreecommitdiff
path: root/src/mongo/s/balance.h
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2012-10-17 16:03:53 -0400
committerGreg Studer <greg@10gen.com>2012-10-17 16:06:01 -0400
commitbb65b80897797e3dc1fe96076fb6c13f6d7260c5 (patch)
tree27aab90c243acdcd287db4aea6120ab667462be2 /src/mongo/s/balance.h
parenteb5bf5b804ee4f20ab5c9e5a77674fe051889f76 (diff)
downloadmongo-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.h6
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).