Sleep should happen after we save and release our snapshot

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Context: In certain sections of our codebase, we invoke the logWriteConflictAndBackoff function to handle write conflicts. However, there are instances where we proceed with a backoff without releasing the snapshot, which may lead to resource locks or inefficient resource utilization. Example are here and here.

      Objective: Ensure that whenever logWriteConflictAndBackoff is called, the snapshot is released before the backoff occurs. This will improve resource management and overall system efficiency.

            Assignee:
            Unassigned
            Reporter:
            Ernesto Rodriguez Reina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: