summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-07-24 18:42:21 -0400
committerEliot Horowitz <eliot@10gen.com>2014-07-28 08:43:19 -0400
commite1212f504d8d7f72582c060eac67a158ccd099c5 (patch)
treea712277c5615308a87981eeb9c5d8fbf1f9b4de5 /src/mongo/db/cloner.h
parente28e721d7e9a4f08126f4e1b983bbf73cbe7aec7 (diff)
downloadmongo-e1212f504d8d7f72582c060eac67a158ccd099c5.tar.gz
SERVER-14378: cloner shouldn't use system.indexes but listIndexes
Diffstat (limited to 'src/mongo/db/cloner.h')
-rw-r--r--src/mongo/db/cloner.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mongo/db/cloner.h b/src/mongo/db/cloner.h
index 76d187c695d..0ee8752ee80 100644
--- a/src/mongo/db/cloner.h
+++ b/src/mongo/db/cloner.h
@@ -73,7 +73,6 @@ namespace mongo {
const std::string& toDBName,
const NamespaceString& from_ns,
const NamespaceString& to_ns,
- bool isindex,
bool logForRepl,
bool masterSameProcess,
bool slaveOk,
@@ -81,6 +80,16 @@ namespace mongo {
bool mayBeInterrupted,
Query q);
+ void copyIndexes(OperationContext* txn,
+ const string& toDBName,
+ const NamespaceString& from_ns,
+ const NamespaceString& to_ns,
+ bool logForRepl,
+ bool masterSameProcess,
+ bool slaveOk,
+ bool mayYield,
+ bool mayBeInterrupted);
+
struct Fun;
std::auto_ptr<DBClientBase> _conn;
};