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

Consider decreasing distlock retry timeout

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.6.14, 4.0.12, 4.2.0
    • Replication, Sharding
    • None
    • Sharding
    • 34

    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

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: