summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/collection_cloner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/collection_cloner.cpp')
-rw-r--r--src/mongo/db/repl/collection_cloner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/collection_cloner.cpp b/src/mongo/db/repl/collection_cloner.cpp
index 4d73098c787..119239e1acf 100644
--- a/src/mongo/db/repl/collection_cloner.cpp
+++ b/src/mongo/db/repl/collection_cloner.cpp
@@ -94,7 +94,7 @@ CollectionCloner::CollectionCloner(const NamespaceString& sourceNss,
_stats.ns = _sourceNss.ns();
// Find out whether the sync source supports resumable queries.
- _resumeSupported = (getClient()->getMaxWireVersion() == WireVersion::PLACEHOLDER_FOR_44);
+ _resumeSupported = (getClient()->getMaxWireVersion() == WireVersion::RESUMABLE_INITIAL_SYNC);
}
BaseCloner::ClonerStages CollectionCloner::getStages() {