diff options
author | Louis Williams <louis.williams@mongodb.com> | 2018-03-20 13:18:07 -0400 |
---|---|---|
committer | Louis Williams <louis.williams@mongodb.com> | 2018-04-13 10:48:56 -0400 |
commit | 10bcc73a75ac857c290c3af6a3f89a45c4867043 (patch) | |
tree | ee4612c4807e4232f3242589f2d70bd9e6cbf4ab /src/mongo/db/exec/collection_scan_common.h | |
parent | 235858ceee5d209d5e10579b79cfdc3bad7ff877 (diff) | |
download | mongo-10bcc73a75ac857c290c3af6a3f89a45c4867043.tar.gz |
SERVER-34192 Allow secondary reads during batch applications
Diffstat (limited to 'src/mongo/db/exec/collection_scan_common.h')
-rw-r--r-- | src/mongo/db/exec/collection_scan_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/exec/collection_scan_common.h b/src/mongo/db/exec/collection_scan_common.h index 5f960f0a904..b6c141691aa 100644 --- a/src/mongo/db/exec/collection_scan_common.h +++ b/src/mongo/db/exec/collection_scan_common.h @@ -69,6 +69,9 @@ struct CollectionScanParams { // If non-zero, how many documents will we look at? size_t maxScan = 0; + + // Whether or not to wait for oplog visibility on oplog collection scans. + bool shouldWaitForOplogVisibility = false; }; } // namespace mongo |