diff options
Diffstat (limited to 'src/mongo/s/chunk.h')
-rw-r--r-- | src/mongo/s/chunk.h | 5 |
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; |