Consider decreasing distlock retry timeout

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.6.14, 4.0.12, 4.2.0
    • Component/s: Replication, Sharding
    • None
    • Sharding
    • 34
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If we have a thread that tries to newly acquire the distlock on an aggressively quick cadence (less than a second), it's possible that threads that have been waiting on the distlock can get crowded out by the new request. We should decrease the retry timeout, so that retrying threads can have a more equitable chance to acquire the distlock.

      This ticket may alternatively act as a placeholder for more preferable solutions to the linked BF.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: