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

Parameterize 'failNonIntentLocksIfWaitNeeded' failpoint with optional timeout

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Labels:
      None
    • Repl 2019-08-12

      This is useful for giving the affected lock acquisitions a chance in the face of temporary delays (e.g. HMAC). If this new optional timeout parameter is set, instead of failing the acquisition immediately, we override the timeout that the lock would normally have. Users of this failpoint can set this timeout to a low value in order to avoid unintended lock failures without holding up the test for too long.

      See here.

            Assignee:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Reporter:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: