From 37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048 Mon Sep 17 00:00:00 2001 From: Randolph Tan Date: Tue, 15 Jul 2014 16:13:31 -0400 Subject: Revert "SERVER-14041 enhance secondaryThrottle parameter" This reverts commit fa1233fbe4a48ef0675820f381987f1df4f42f75. --- src/mongo/s/chunk.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mongo/s/chunk.h') diff --git a/src/mongo/s/chunk.h b/src/mongo/s/chunk.h index 71baafad061..f8f18df1474 100644 --- a/src/mongo/s/chunk.h +++ b/src/mongo/s/chunk.h @@ -46,7 +46,6 @@ namespace mongo { class ChunkRange; class ChunkManager; class ChunkObjUnitTest; - class WriteConcernOptions; typedef shared_ptr ChunkPtr; @@ -173,7 +172,7 @@ namespace mongo { * * @param to shard to move this chunk to * @param chunSize maximum number of bytes beyond which the migrate should no go trhough - * @param writeConcern detailed write concern. NULL means the default write concern. + * @param secondaryThrottle whether during migrate all writes should block for repl * @param waitForDelete whether chunk move should wait for cleanup or return immediately * @param maxTimeMS max time for the migrate request * @param res the object containing details about the migrate execution @@ -181,7 +180,7 @@ namespace mongo { */ bool moveAndCommit(const Shard& to, long long chunkSize, - const WriteConcernOptions* writeConcern, + bool secondaryThrottle, bool waitForDelete, int maxTimeMS, BSONObj& res) const; -- cgit v1.2.1