Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103482

Sleep should happen after we save and release our snapshot

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 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 Unassigned
            Reporter:
            ernesto.rodriguez@mongodb.com Ernesto Rodriguez Reina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: