diff options
author | Spencer T Brody <spencer@mongodb.com> | 2016-01-21 18:21:24 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2016-01-21 18:21:53 -0500 |
commit | 187028f283545496b0254216d17822211fe5202c (patch) | |
tree | c80fa9ea6f938323db4889a784832b4fcf45979b | |
parent | a06749d784cef76d1b090449927a579bc8f1191b (diff) | |
download | mongo-187028f283545496b0254216d17822211fe5202c.tar.gz |
SERVER-20036 Add back line that was accidentally removed
(cherry picked from commit 6139a33b400ecd23ee8536da74232f70df0f76c6)
-rw-r--r-- | src/mongo/db/commands/clone.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/clone.cpp b/src/mongo/db/commands/clone.cpp index b5632dd44d7..a438dfa95bc 100644 --- a/src/mongo/db/commands/clone.cpp +++ b/src/mongo/db/commands/clone.cpp @@ -114,6 +114,7 @@ public: "Cannot run clone command for use by sharding movePrimary command on a " "node that isn't yet sharding aware")); } + opts.initialCatalogMode = catalogManager->getMode(); } // See if there's any collections we should ignore |