-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2022-04-04
WT-8767 is going to make a change where the application threads set to timeout after a duration of waiting on eviction will return a WT_ROLLBACK instead of WT_CACHE_FULL. In WiredTigerRecordStore::_initNextIdIfNeeded when trying to determine the largest record id we check the return of WT_CACHE_FULL. This will break once WT-8767 will be merged to MongoDB.
To help with the transition from cache full error to the rollback, this ticket should make the above code check for both WT_CACHE_FULL and WT_ROLLBACK.
A follow on ticket, SERVER-64461, is filed to take on from there, and do other changes needed to handle the WT_ROLLBACK return with a new rollback reason.
- is depended on by
-
WT-8767 Return rollback instead of cache full after cache_max_wait timer expires
- Closed
- related to
-
SERVER-64461 Replace WT_CACHE_FULL error with WT_ROLLBACK for durable engine
- Closed