Introduce safeguard to attemptInsertIntoBucket's unbounded loop

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Matt Kneiser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: