summaryrefslogtreecommitdiff
path: root/src/mongo/db/ftdc
diff options
context:
space:
mode:
authorSamy Lanka <samy.lanka@mongodb.com>2020-05-05 19:23:25 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-06 21:28:38 +0000
commitb9a24ae832ee9854c0766f451582305e794e6ed7 (patch)
tree8bc6f5062bfad2e0222fe155642d690d250792d1 /src/mongo/db/ftdc
parent71a01bc43a26ec328657d7d9768ce11cad6f89a7 (diff)
downloadmongo-b9a24ae832ee9854c0766f451582305e794e6ed7.tar.gz
SERVER-47528 Turn off initialSyncStatus for replSetGetStatus in FTDC
Diffstat (limited to 'src/mongo/db/ftdc')
-rw-r--r--src/mongo/db/ftdc/ftdc_mongod.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/ftdc/ftdc_mongod.cpp b/src/mongo/db/ftdc/ftdc_mongod.cpp
index e53b423f0bb..7a328c2ed60 100644
--- a/src/mongo/db/ftdc/ftdc_mongod.cpp
+++ b/src/mongo/db/ftdc/ftdc_mongod.cpp
@@ -48,7 +48,10 @@ void registerMongoDCollectors(FTDCController* controller) {
repl::ReplicationCoordinator::modeNone) {
// CmdReplSetGetStatus
controller->addPeriodicCollector(std::make_unique<FTDCSimpleInternalCommandCollector>(
- "replSetGetStatus", "replSetGetStatus", "", BSON("replSetGetStatus" << 1)));
+ "replSetGetStatus",
+ "replSetGetStatus",
+ "",
+ BSON("replSetGetStatus" << 1 << "initialSync" << 0)));
// CollectionStats
controller->addPeriodicCollector(