summaryrefslogtreecommitdiff
path: root/src/mongo/s/move_chunk_request.h
diff options
context:
space:
mode:
authorNathan Myers <ncm@asperasoft.com>2016-12-27 23:54:15 -0500
committerNathan Myers <nathan.myers@10gen.com>2017-01-10 11:36:55 -0500
commitda79c6596c6a6e6d818e39b2782968d27cf42be2 (patch)
tree35aa28d5c106bee6acc4921242ae3d3be00a2c64 /src/mongo/s/move_chunk_request.h
parent8478c3b4f7c2e2e8804ca4f5a3847b07a71fd9b3 (diff)
downloadmongo-da79c6596c6a6e6d818e39b2782968d27cf42be2.tar.gz
SERVER-27390 Delete dead code in commitChunkMigration
Diffstat (limited to 'src/mongo/s/move_chunk_request.h')
-rw-r--r--src/mongo/s/move_chunk_request.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mongo/s/move_chunk_request.h b/src/mongo/s/move_chunk_request.h
index 538ab756fa3..3851acb703b 100644
--- a/src/mongo/s/move_chunk_request.h
+++ b/src/mongo/s/move_chunk_request.h
@@ -72,8 +72,7 @@ public:
ChunkVersion chunkVersion,
int64_t maxChunkSizeBytes,
const MigrationSecondaryThrottleOptions& secondaryThrottle,
- bool waitForDelete,
- bool takeDistLock);
+ bool waitForDelete);
const NamespaceString& getNss() const {
return _nss;
@@ -119,10 +118,6 @@ public:
return _waitForDelete;
}
- bool getTakeDistLock() const {
- return _takeDistLock;
- }
-
/**
* Returns true if the requests match exactly in terms of the field values and the order of
* elements within the BSON-typed fields.
@@ -172,9 +167,6 @@ private:
// Whether to block and wait for the range deleter to cleanup the orphaned documents at the end
// of move.
bool _waitForDelete;
-
- // Whether to take the distributed lock for the collection or not.
- bool _takeDistLock;
};
} // namespace mongo