diff options
author | Benety Goh <benety@mongodb.com> | 2020-04-16 04:28:46 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-16 08:40:45 +0000 |
commit | bf5c17f39148ee5c0c113d4236b76b7dd919c877 (patch) | |
tree | 0fdafe1e8bbc36f115fa00fded2899e1bbbf4867 /src/mongo/db/cloner.h | |
parent | 946b8622fa3c8eed29fa9952f50b35d0f701cb37 (diff) | |
download | mongo-bf5c17f39148ee5c0c113d4236b76b7dd919c877.tar.gz |
SERVER-47438 remove CloneOptions::slaveOk
Diffstat (limited to 'src/mongo/db/cloner.h')
-rw-r--r-- | src/mongo/db/cloner.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/cloner.h b/src/mongo/db/cloner.h index c89ec13e73f..58f6501fd97 100644 --- a/src/mongo/db/cloner.h +++ b/src/mongo/db/cloner.h @@ -99,7 +99,6 @@ private: const BSONObj& from_opts, const BSONObj& from_id_index, const NamespaceString& to_ns, - const CloneOptions& opts, Query q); void copyIndexes(OperationContext* opCtx, @@ -113,14 +112,9 @@ private: std::unique_ptr<DBClientBase> _conn; }; -/** - * slaveOk - if true it is ok if the source of the data is !ismaster. - */ struct CloneOptions { std::string fromDB; std::set<std::string> shardedColls; - - bool slaveOk = false; }; } // namespace mongo |