diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-08-23 15:16:56 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-08-23 15:16:56 -0400 |
commit | 078d6b49548d90880556af6f55e3baf8b4709917 (patch) | |
tree | a727de5a0ab3fb20efc6758712354b79a7b0986c /src/mongo/db/ftdc/util.h | |
parent | 4695b6b675a4c8dd217635afb8f8e907da5fd7be (diff) | |
download | mongo-078d6b49548d90880556af6f55e3baf8b4709917.tar.gz |
SERVER-34864 FTDC should ignore irrelevant schema changes
Diffstat (limited to 'src/mongo/db/ftdc/util.h')
-rw-r--r-- | src/mongo/db/ftdc/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/ftdc/util.h b/src/mongo/db/ftdc/util.h index 4816c534f96..04d453139ce 100644 --- a/src/mongo/db/ftdc/util.h +++ b/src/mongo/db/ftdc/util.h @@ -168,6 +168,11 @@ StatusWith<BSONObj> getBSONDocumentFromMetadataDoc(const BSONObj& obj); */ StatusWith<std::vector<BSONObj>> getMetricsFromMetricDoc(const BSONObj& obj, FTDCDecompressor* decompressor); + +/** + * Is this a type that FTDC find's interesting? I.e. is this a numeric or container type? + */ +bool isFTDCType(BSONType type); } // namespace FTDCBSONUtil |