It is considered risky when ReadSourceScope is used along with other RAII types which assume they are managing the snapshots, like the lock free read helpers. We should let the caller acquire and release the snapshots themselves instead of doing it within the raii type.
- related to
-
SERVER-61458 Calling RSLocalClient::queryOnce(kMajorityReadConcern) causes subsequent local writes in same OperationContext to also read stale data
- Closed
-
SERVER-61715 Set a flag on the RecoveryUnit when it is not allowed to call abandonSnapshot()
- Closed