summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2014-07-15 16:13:31 -0400
committerRandolph Tan <randolph@10gen.com>2014-07-15 16:13:50 -0400
commit37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048 (patch)
tree2bcd919c93803f294d562761c2920fc9dd712bcd /src/mongo/s/chunk.h
parentd60fd22dec1c0bd104622eab463cdbba18bf11a9 (diff)
downloadmongo-37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048.tar.gz
Revert "SERVER-14041 enhance secondaryThrottle parameter"
This reverts commit fa1233fbe4a48ef0675820f381987f1df4f42f75.
Diffstat (limited to 'src/mongo/s/chunk.h')
-rw-r--r--src/mongo/s/chunk.h5
1 files changed, 2 insertions, 3 deletions
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<const Chunk> 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;