summaryrefslogtreecommitdiff
path: root/src/mongo/db/ftdc
diff options
context:
space:
mode:
authorJason Zhang <jason.zhang@mongodb.com>2021-02-17 17:41:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-19 20:48:00 +0000
commit6d2adad86ca0ba48e5fa33d5ed43c0385a9e44f1 (patch)
tree49d139dbcaede7da5bf7145e008fa2d1e19f3e2c /src/mongo/db/ftdc
parentd3681fd24e039baf75d946e01b5d485cefb956aa (diff)
downloadmongo-6d2adad86ca0ba48e5fa33d5ed43c0385a9e44f1.tar.gz
SERVER-54264 Exclude tenantMigrationAccessBlocker serverStatus section from FTDC
Diffstat (limited to 'src/mongo/db/ftdc')
-rw-r--r--src/mongo/db/ftdc/ftdc_server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/ftdc/ftdc_server.cpp b/src/mongo/db/ftdc/ftdc_server.cpp
index 9068f480a8d..b683a69ea5a 100644
--- a/src/mongo/db/ftdc/ftdc_server.cpp
+++ b/src/mongo/db/ftdc/ftdc_server.cpp
@@ -210,6 +210,8 @@ public:
// "defaultRWConcern" is excluded because it changes rarely and instead included in rotation
// "mirroredReads" is included to append the number of mirror-able operations observed and
// mirrored by this process in FTDC collections.
+ // "tenantMigrationAccessBlocker" section is filtered out because its variability in
+ // document shape hurts FTDC compression.
BSONObjBuilder commandBuilder;
commandBuilder.append(kCommand, 1);
@@ -217,6 +219,7 @@ public:
commandBuilder.append("timing", false);
commandBuilder.append("defaultRWConcern", false);
commandBuilder.append(MirrorMaestro::kServerStatusSectionName, true);
+ commandBuilder.append("tenantMigrationAccessBlocker", false);
// Exclude 'serverStatus.transactions.lastCommittedTransactions' because it triggers
// frequent schema changes.