summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_build_interceptor.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/index/index_build_interceptor.cpp
parent6bf7fbe9eefff52f49b0f7898c86d7bec4d5985a (diff)
downloadmongo-330458e81f9baa3f936d639dc3edbe1a8c4c5a32.tar.gz
SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes
Diffstat (limited to 'src/mongo/db/index/index_build_interceptor.cpp')
-rw-r--r--src/mongo/db/index/index_build_interceptor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/index/index_build_interceptor.cpp b/src/mongo/db/index/index_build_interceptor.cpp
index 4e04d0a2c3f..df708587511 100644
--- a/src/mongo/db/index/index_build_interceptor.cpp
+++ b/src/mongo/db/index/index_build_interceptor.cpp
@@ -27,7 +27,6 @@
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kIndex
#include "mongo/platform/basic.h"
@@ -50,6 +49,9 @@
#include "mongo/util/progress_meter.h"
#include "mongo/util/uuid.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kIndex
+
+
namespace mongo {
MONGO_FAIL_POINT_DEFINE(hangDuringIndexBuildDrainYield);