Commit Graph

2 Commits

Author SHA1 Message Date
clang-format-7.0.1
134a408395 SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
William Schultz
ffb19c1792 SERVER-38754 Make speculative majority change stream reads wait on optimized optimes
Speculative majority change stream oplog reads now only wait on the latest scanned oplog timestamp when possible, as opposed to always waiting on the latest system-wide lastApplied optime. If a document post-image lookup occurs locally for a change stream read, then this optimization is not safe, since the document lookup may reflect data at some unknown timestamp. In this case, we revert to waiting on the node's lastApplied optime.
2019-01-23 14:38:08 -05:00