The MongoDB server uses the WT_SESSION.begin_transaction::read_before_oldest flag to reset the transaction's snapshot, functionality which is more appropriately achieved using the WT_SESSION.reset_snapshot method.
The read_before_oldest functionality is not something we want to maintain, it's dangerous and prone to race conditions. Once the SERVER-62350 ticket is resolved, we should consider if/when we can remove read_before_oldest entirely.
- has to be done after
-
SERVER-62350 replace usage of read_before_oldest with reset_snapshot
- Closed