diff options
author | Maria van Keulen <maria@mongodb.com> | 2019-05-02 15:15:17 -0400 |
---|---|---|
committer | Maria van Keulen <maria@mongodb.com> | 2019-05-08 15:00:26 -0400 |
commit | 4cfe7bd17640acd296fad4d916aecc27ba8b5f4f (patch) | |
tree | 946923d34eb76d45b95b55556809940679577dff /src/mongo/db/db.cpp | |
parent | d3ee35d6e3ac7a42cd5ad106c3ecb9fb554900c7 (diff) | |
download | mongo-4cfe7bd17640acd296fad4d916aecc27ba8b5f4f.tar.gz |
SERVER-40823 Enable Flow Control in testing
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r-- | src/mongo/db/db.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index 474c05ac8ab..94ec16df197 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -127,6 +127,7 @@ #include "mongo/db/stats/counters.h" #include "mongo/db/storage/backup_cursor_hooks.h" #include "mongo/db/storage/encryption_hooks.h" +#include "mongo/db/storage/flow_control_parameters_gen.h" #include "mongo/db/storage/storage_engine.h" #include "mongo/db/storage/storage_engine_init.h" #include "mongo/db/storage/storage_engine_lock_file.h" @@ -436,6 +437,10 @@ ExitCode _initAndListen(int listenPort) { invariant(serverGlobalParams.featureCompatibility.isVersionInitialized()); } + if (gFlowControlEnabled.load()) { + log() << "Flow Control is enabled on this deployment."; + } + if (storageGlobalParams.upgrade) { log() << "finished checking dbs"; exitCleanly(EXIT_CLEAN); |