diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2019-02-21 13:54:32 -0500 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2019-02-25 10:49:55 -0500 |
commit | d53ffb71121f8b09c09768e85420d6836247bf47 (patch) | |
tree | 79dfeaf7fa972a5c2c7abbe1f7bea33ad9c6300b /src/mongo/db/s/collection_sharding_runtime.cpp | |
parent | ca012419d8204bc1b09e093154cb4125a4a79f10 (diff) | |
download | mongo-d53ffb71121f8b09c09768e85420d6836247bf47.tar.gz |
SERVER-39635 SERVER-39636 SERVER-39637 SERVER-39640 IDL'ify server parameters in sharding_runtime_d_params.
Diffstat (limited to 'src/mongo/db/s/collection_sharding_runtime.cpp')
-rw-r--r-- | src/mongo/db/s/collection_sharding_runtime.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/db/s/collection_sharding_runtime.cpp b/src/mongo/db/s/collection_sharding_runtime.cpp index 38999e3d7f3..c3dfb5618c4 100644 --- a/src/mongo/db/s/collection_sharding_runtime.cpp +++ b/src/mongo/db/s/collection_sharding_runtime.cpp @@ -35,19 +35,14 @@ #include "mongo/base/checked_cast.h" #include "mongo/db/catalog_raii.h" -#include "mongo/db/server_parameters.h" +#include "mongo/db/s/sharding_runtime_d_params_gen.h" #include "mongo/util/duration.h" #include "mongo/util/log.h" namespace mongo { -MONGO_EXPORT_SERVER_PARAMETER(migrationLockAcquisitionMaxWaitMS, int, 500); - namespace { -// How long to wait before starting cleanup of an emigrated chunk range -MONGO_EXPORT_SERVER_PARAMETER(orphanCleanupDelaySecs, int, 900); // 900s = 15m - /** * Returns whether the specified namespace is used for sharding-internal purposes only and can never * be marked as anything other than UNSHARDED, because the call sites which reference these |