summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.h
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2015-04-09 10:01:45 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2015-04-17 11:27:21 -0400
commit5a29fa08eeea0ece229102dcd4e7b6580c7acd1d (patch)
tree15d965b370cee5c9bca32f91c3d944ccc04d7038 /src/mongo/db/cloner.h
parentea32e99a4e06930b2cae7b03882e3fda3333934b (diff)
downloadmongo-5a29fa08eeea0ece229102dcd4e7b6580c7acd1d.tar.gz
SERVER-15860 Switch replication metadata ops to be replication-specific, rather than using commands
Diffstat (limited to 'src/mongo/db/cloner.h')
-rw-r--r--src/mongo/db/cloner.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/db/cloner.h b/src/mongo/db/cloner.h
index 80dd941b19e..e9218d8ab67 100644
--- a/src/mongo/db/cloner.h
+++ b/src/mongo/db/cloner.h
@@ -65,15 +65,13 @@ namespace mongo {
std::string& errmsg,
bool mayYield,
bool mayBeInterrupted,
- bool copyIndexes = true,
- bool logForRepl = true );
+ bool copyIndexes = true);
private:
void copy(OperationContext* txn,
const std::string& toDBName,
const NamespaceString& from_ns,
const NamespaceString& to_ns,
- bool logForRepl,
bool masterSameProcess,
bool slaveOk,
bool mayYield,
@@ -84,7 +82,6 @@ namespace mongo {
const std::string& toDBName,
const NamespaceString& from_ns,
const NamespaceString& to_ns,
- bool logForRepl,
bool masterSameProcess,
bool slaveOk,
bool mayYield,
@@ -103,7 +100,6 @@ namespace mongo {
*/
struct CloneOptions {
CloneOptions() {
- logForRepl = true;
slaveOk = false;
useReplAuth = false;
snapshot = true;
@@ -117,7 +113,6 @@ namespace mongo {
std::string fromDB;
std::set<std::string> collsToIgnore;
- bool logForRepl;
bool slaveOk;
bool useReplAuth;
bool snapshot;