[SERVER-79516] Modify assertion about reading on secondary without timestamp or PBWM Created: 31/Jul/23  Updated: 29/Oct/23  Resolved: 02/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-79399 Remove ShouldNotConflictWithSecondary... Closed
is depended on by SERVER-79557 Prevent FTDC from failing assertion a... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-08-07
Participants:

 Description   

When acquiring a collection to perform a read, we have this assertion which prevents reading on a secondary without a timestamp or the PBWM. However there a couple additional cases where this is okay, for instance when in oplog application.



 Comments   
Comment by Githook User [ 02/Aug/23 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-79516 Skip secondary read timestamp assertion when not enforcing constraints
Branch: minh.luu-no_compile_sys-perf
https://github.com/mongodb/mongo/commit/c892a5902ddf1d04804f38b38cda9bab1917ed8c

Comment by Githook User [ 02/Aug/23 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-79516 Skip secondary read timestamp assertion when not enforcing constraints
Branch: master
https://github.com/mongodb/mongo/commit/c892a5902ddf1d04804f38b38cda9bab1917ed8c

Generated at Thu Feb 08 06:41:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.