diff options
author | samontea <merciers.merciers@gmail.com> | 2019-06-07 16:11:25 -0400 |
---|---|---|
committer | samontea <merciers.merciers@gmail.com> | 2019-07-10 16:29:06 -0400 |
commit | a4ef14ef41f0700ef07e5b57b0345d2396a44604 (patch) | |
tree | 9fe5a652acecb2b98cb09240b3fc90e47eb66452 /src/mongo/db/exec/plan_stats.h | |
parent | 6bba6446e632b557ccc03834d4d48e90336679fc (diff) | |
download | mongo-a4ef14ef41f0700ef07e5b57b0345d2396a44604.tar.gz |
SERVER-40755 Expose statistics which indicate how many collection scans have executed
Diffstat (limited to 'src/mongo/db/exec/plan_stats.h')
-rw-r--r-- | src/mongo/db/exec/plan_stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h index e85a508979f..08d623ffc44 100644 --- a/src/mongo/db/exec/plan_stats.h +++ b/src/mongo/db/exec/plan_stats.h @@ -198,6 +198,8 @@ struct CollectionScanStats : public SpecificStats { // backwards. int direction; + bool tailable{false}; + // If present, indicates that the collection scan will stop and return EOF the first time it // sees a document that does not pass the filter and has a "ts" Timestamp field greater than // 'maxTs'. |