summaryrefslogtreecommitdiff
path: root/src/mongo/db/db_raii.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2022-05-05 21:27:32 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-06 00:08:12 +0000
commit330458e81f9baa3f936d639dc3edbe1a8c4c5a32 (patch)
tree276be3a42c0a9aaff01340157a6fddd80509d831 /src/mongo/db/db_raii.cpp
parent6bf7fbe9eefff52f49b0f7898c86d7bec4d5985a (diff)
downloadmongo-330458e81f9baa3f936d639dc3edbe1a8c4c5a32.tar.gz
SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes
Diffstat (limited to 'src/mongo/db/db_raii.cpp')
-rw-r--r--src/mongo/db/db_raii.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/db_raii.cpp b/src/mongo/db/db_raii.cpp
index 3a0b72f6bc8..7c02ea125d0 100644
--- a/src/mongo/db/db_raii.cpp
+++ b/src/mongo/db/db_raii.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
#include "mongo/platform/basic.h"
@@ -44,6 +43,9 @@
#include "mongo/db/storage/snapshot_helper.h"
#include "mongo/logv2/log.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
+
+
MONGO_FAIL_POINT_DEFINE(hangBeforeAutoGetShardVersionCheck);
MONGO_FAIL_POINT_DEFINE(reachedAutoGetLockFreeShardConsistencyRetry);