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

Parameterize 'failNonIntentLocksIfWaitNeeded' failpoint with optional timeout

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Repl 2019-08-12

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: