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

Consider decreasing distlock retry timeout

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.12, 4.2.0, 3.6.14
    • Fix Version/s: None
    • Component/s: Replication, Sharding
    • Labels:
      None
    • Linked BF Score:
      11

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: