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

writeConflictRetry keeps snapshot open while backing off

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • ALL

      Our write conflict backoff logic sleeps before rolling-back the active transaction with abandonSnapshot(). This exists as far back as 4.4 where I checked.

      This can make write conflicts and cache pressure worse because transactions will stay active, potentially holding resources and are unkillable while they sleep.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: