diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-10-17 11:15:48 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-10-17 11:15:48 -0400 |
commit | 030fa6ba25c329f8ff5f29b3bbb5a95c6556115d (patch) | |
tree | 4b42b78d2ad07d84aa19cadd917e5664fc4e6bbc /src/mongo/db/ftdc | |
parent | b5bea92504b2612f433b55e7b901f9ae276d11ec (diff) | |
download | mongo-030fa6ba25c329f8ff5f29b3bbb5a95c6556115d.tar.gz |
SERVER-26573 Poor compression of diagnostic data during chunk migrations
Diffstat (limited to 'src/mongo/db/ftdc')
-rw-r--r-- | src/mongo/db/ftdc/ftdc_mongod.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mongo/db/ftdc/ftdc_mongod.cpp b/src/mongo/db/ftdc/ftdc_mongod.cpp index 0f0ea5a49df..094a2b05d06 100644 --- a/src/mongo/db/ftdc/ftdc_mongod.cpp +++ b/src/mongo/db/ftdc/ftdc_mongod.cpp @@ -310,8 +310,15 @@ void startFTDC() { // GetDiagnosticDataCommand // CmdServerStatus + // The "sharding" section is filtered out because at this time it only consists of strings in + // migration status. This section triggers too many schema changes in the serverStatus which + // hurt ftdc compression efficiency, because its output varies depending on the list of active + // migrations. controller->addPeriodicCollector(stdx::make_unique<FTDCSimpleInternalCommandCollector>( - "serverStatus", "serverStatus", "", BSON("serverStatus" << 1 << "tcMalloc" << true))); + "serverStatus", + "serverStatus", + "", + BSON("serverStatus" << 1 << "tcMalloc" << true << "sharding" << false))); // These metrics are only collected if replication is enabled if (repl::getGlobalReplicationCoordinator()->getReplicationMode() != |