summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/collection_cloner.cpp
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2019-02-21 12:38:38 -0500
committerJonathan Reams <jbreams@mongodb.com>2019-02-26 10:09:20 -0500
commit185c3482ceb8676f59a82e0b7471c31fee9d4a1d (patch)
treeeeeefc59c17fe6b3dcb4447311a8179be2f14f87 /src/mongo/db/repl/collection_cloner.cpp
parent72425ec865efeeea9c1cb61c4cde9393fd4dc9d5 (diff)
downloadmongo-185c3482ceb8676f59a82e0b7471c31fee9d4a1d.tar.gz
SERVER-39538 Convert replication setParameters to IDL
Diffstat (limited to 'src/mongo/db/repl/collection_cloner.cpp')
-rw-r--r--src/mongo/db/repl/collection_cloner.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mongo/db/repl/collection_cloner.cpp b/src/mongo/db/repl/collection_cloner.cpp
index a30cf1496c8..ac0cfb22647 100644
--- a/src/mongo/db/repl/collection_cloner.cpp
+++ b/src/mongo/db/repl/collection_cloner.cpp
@@ -43,9 +43,9 @@
#include "mongo/db/namespace_string.h"
#include "mongo/db/query/cursor_response.h"
#include "mongo/db/repl/oplogreader.h"
+#include "mongo/db/repl/repl_server_parameters_gen.h"
#include "mongo/db/repl/storage_interface.h"
#include "mongo/db/repl/storage_interface_mock.h"
-#include "mongo/db/server_parameters.h"
#include "mongo/rpc/get_status_from_command_result.h"
#include "mongo/util/assert_util.h"
#include "mongo/util/destructor_guard.h"
@@ -66,14 +66,6 @@ constexpr auto kCountResponseDocumentCountFieldName = "n"_sd;
const int kProgressMeterSecondsBetween = 60;
const int kProgressMeterCheckInterval = 128;
-// The number of attempts for the count command, which gets the document count.
-MONGO_EXPORT_SERVER_PARAMETER(numInitialSyncCollectionCountAttempts, int, 3);
-// The number of attempts for the listIndexes commands.
-MONGO_EXPORT_SERVER_PARAMETER(numInitialSyncListIndexesAttempts, int, 3);
-// The number of attempts for the find command, which gets the data.
-MONGO_EXPORT_SERVER_PARAMETER(numInitialSyncCollectionFindAttempts, int, 3);
-// Whether to use the "exhaust cursor" feature when retrieving collection data.
-MONGO_EXPORT_STARTUP_SERVER_PARAMETER(collectionClonerUsesExhaust, bool, true);
} // namespace
// Failpoint which causes initial sync to hang before establishing its cursor to clone the