Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Security 2023-06-26
-
4
Description
wiredTigerPrepareConflictRetry is a 87 line function that is used twice in WiredTigerRecordStoreCursorBase::next. This function consists of a fast and slow path. The fast path is called when there are no errors and the function exits early. The slow path waits for other transactions to be committed. This function can be split into a part that can be inlined and a separate function that calls a lambda in the slow case. This will save code duplication and shrink function size.