[SERVER-50580] SBE should obey ASSERT_MIN_TS_HAS_NOT_FALLEN_OFF_OPLOG flag Created: 27/Aug/20  Updated: 29/Oct/23  Resolved: 15/Feb/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Bernard Gorman Assignee: Bernard Gorman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-54350 Investigate potential race conditions... Closed
is related to SERVER-49896 Allow aggregate command to fail if mi... Closed
is related to SERVER-48523 Unconditionally check the first entry... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2021-01-25, Query Execution 2021-02-22
Participants:

 Description   

In SERVER-48523, we added a new QueryPlannerParams flag called ASSERT_MIN_TS_HAS_NOT_FALLEN_OFF_OPLOG and a corresponding field CollectionScanParams::assertMinTsHasNotFallenOffOplog, which causes a CollectionScan to throw OplogQueryMinTsMissing if the ts of the first entry encountered in the oplog is greater than the minTs derived from the query filter. This feature is used by change streams and will soon be leveraged by the Resharding project (see SERVER-49896). As such, we should make sure that SBE obeys this flag when set.



 Comments   
Comment by Githook User [ 15/Feb/21 ]

Author:

{'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}

Message: SERVER-50580 SBE should obey ASSERT_MIN_TS_HAS_NOT_FALLEN_OFF_OPLOG flag
Branch: master
https://github.com/mongodb/mongo/commit/394572f340bd06f5306a2e961cd9d4e0d3e96bb1

Generated at Thu Feb 08 05:23:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.