summaryrefslogtreecommitdiff
path: root/src/mongo/client/sdam/topology_description.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/sdam/topology_description.cpp')
-rw-r--r--src/mongo/client/sdam/topology_description.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/sdam/topology_description.cpp b/src/mongo/client/sdam/topology_description.cpp
index 63ba155a3d8..5552aeacb94 100644
--- a/src/mongo/client/sdam/topology_description.cpp
+++ b/src/mongo/client/sdam/topology_description.cpp
@@ -26,7 +26,6 @@
* exception statement from all source files in the program, then also delete
* it in the license file.
*/
-#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
#include "mongo/client/sdam/topology_description.h"
@@ -41,6 +40,9 @@
#include "mongo/logv2/log.h"
#include "mongo/util/fail_point.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork
+
+
// Checkpoint to track when election Id and Set version is changed.
MONGO_FAIL_POINT_DEFINE(maxElectionIdSetVersionPairUpdated);