diff options
author | Samy Lanka <samy.lanka@mongodb.com> | 2020-05-05 19:23:25 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-06 21:28:38 +0000 |
commit | b9a24ae832ee9854c0766f451582305e794e6ed7 (patch) | |
tree | 8bc6f5062bfad2e0222fe155642d690d250792d1 /src/mongo/db/ftdc | |
parent | 71a01bc43a26ec328657d7d9768ce11cad6f89a7 (diff) | |
download | mongo-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.cpp | 5 |
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( |