diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-08-11 12:29:24 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2017-08-15 17:09:38 -0400 |
commit | 7cbeedf66f4bde5b25e14665cc3537ddad28a122 (patch) | |
tree | 8853a84082055c4903da55dd2cea3badf3bc3bfc | |
parent | 01f3279e039f610a99ef84238ca49498c716ee14 (diff) | |
download | mongo-7cbeedf66f4bde5b25e14665cc3537ddad28a122.tar.gz |
SERVER-30183 ensure a moveChunk that joins the active moveChunk has the same waitForDelete option
(cherry picked from commit 0578fe2bf94f66e6f5ddb9954c442b77a10bc202)
-rw-r--r-- | src/mongo/s/move_chunk_request.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/move_chunk_request.cpp b/src/mongo/s/move_chunk_request.cpp index 4622f26fd29..104587ef751 100644 --- a/src/mongo/s/move_chunk_request.cpp +++ b/src/mongo/s/move_chunk_request.cpp @@ -195,7 +195,8 @@ bool MoveChunkRequest::operator==(const MoveChunkRequest& other) const { return false; if (_range != other._range) return false; - + if (_waitForDelete != other._waitForDelete) + return false; return true; } |