-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
attemptInsertIntoBucket has an infinite while loop that led to a deadlock under specific conditions of a pair of WCE's being thrown by multiple threads in this loop. This code is getting more difficult to comprehend, it could be worth adding a mechanism to exit the loop after a number of iterations to help cleanup state and retry at a higher level.
This prevents other classes of logic issues that may or may not exist today, and would protect against code changes in this loop or its downstream callees.
- is related to
-
SERVER-91772 Deadlock issue in timeseries insert
- Closed