diff options
author | jannaerin <golden.janna@gmail.com> | 2018-04-12 15:07:57 -0400 |
---|---|---|
committer | jannaerin <golden.janna@gmail.com> | 2018-04-13 16:13:05 -0400 |
commit | 22038f42e0dd1fcfe4d56b7d1911f7837b4aee48 (patch) | |
tree | 878714f81b1c2d564ba7280c552fd2a2a1154604 /src/mongo/db/cloner.h | |
parent | 7c65bad3c3dd5e9fe47cdb835d5374113596df3e (diff) | |
download | mongo-22038f42e0dd1fcfe4d56b7d1911f7837b4aee48.tar.gz |
SERVER-34437 Remove snapshot query option from cloner
Diffstat (limited to 'src/mongo/db/cloner.h')
-rw-r--r-- | src/mongo/db/cloner.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/cloner.h b/src/mongo/db/cloner.h index 5babf76bce8..6ef53acd7ca 100644 --- a/src/mongo/db/cloner.h +++ b/src/mongo/db/cloner.h @@ -132,9 +132,6 @@ private: /** * slaveOk - if true it is ok if the source of the data is !ismaster. * useReplAuth - use the credentials we normally use as a replication slave for the cloning - * snapshot - use snapshot mode for copying collections. note this should not be used - * when it isn't required, as it will be slower. for example, - * repairDatabase need not use it. * createCollections - When 'true', will fetch a list of collections from the remote and create * them. When 'false', assumes collections have already been created ahead of time. */ @@ -144,7 +141,6 @@ struct CloneOptions { bool slaveOk = false; bool useReplAuth = false; - bool snapshot = true; bool syncData = true; bool syncIndexes = true; |