diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-05-05 21:27:32 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-06 00:08:12 +0000 |
commit | 330458e81f9baa3f936d639dc3edbe1a8c4c5a32 (patch) | |
tree | 276be3a42c0a9aaff01340157a6fddd80509d831 /src/mongo/db/serverless | |
parent | 6bf7fbe9eefff52f49b0f7898c86d7bec4d5985a (diff) | |
download | mongo-330458e81f9baa3f936d639dc3edbe1a8c4c5a32.tar.gz |
SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes
Diffstat (limited to 'src/mongo/db/serverless')
-rw-r--r-- | src/mongo/db/serverless/shard_split_donor_service.cpp | 5 | ||||
-rw-r--r-- | src/mongo/db/serverless/shard_split_donor_service_test.cpp | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/db/serverless/shard_split_donor_service.cpp b/src/mongo/db/serverless/shard_split_donor_service.cpp index 4ea4779f462..290bc98f144 100644 --- a/src/mongo/db/serverless/shard_split_donor_service.cpp +++ b/src/mongo/db/serverless/shard_split_donor_service.cpp @@ -27,8 +27,6 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTenantMigration - #include "mongo/db/serverless/shard_split_donor_service.h" #include "mongo/client/streamable_replica_set_monitor.h" @@ -51,6 +49,9 @@ #include "mongo/util/future_util.h" #include "mongo/util/time_support.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTenantMigration + + namespace mongo { namespace { diff --git a/src/mongo/db/serverless/shard_split_donor_service_test.cpp b/src/mongo/db/serverless/shard_split_donor_service_test.cpp index aad81bbf5dc..d88360f6569 100644 --- a/src/mongo/db/serverless/shard_split_donor_service_test.cpp +++ b/src/mongo/db/serverless/shard_split_donor_service_test.cpp @@ -27,7 +27,6 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest #include <memory> @@ -71,6 +70,8 @@ #include "mongo/unittest/unittest.h" #include "mongo/util/clock_source_mock.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest + namespace mongo { /** |