diff options
Diffstat (limited to 'src/mongo/db/catalog/collection.h')
-rw-r--r-- | src/mongo/db/catalog/collection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection.h b/src/mongo/db/catalog/collection.h index 3fac44cff7a..76905a8fe6f 100644 --- a/src/mongo/db/catalog/collection.h +++ b/src/mongo/db/catalog/collection.h @@ -67,6 +67,9 @@ struct CollectionUpdateArgs { std::vector<StmtId> stmtIds = {kUninitializedStmtId}; + // The unique sample id for this update if it has been chosen for sampling. + boost::optional<UUID> sampleId; + // The document before modifiers were applied. boost::optional<BSONObj> preImageDoc; |