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

failCommand holds its lock while blocking for blockTimeMS

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • ALL

      The failCommand failpoint accepts a blockTimeMS argument which causes the affected command to block. However, while performing this blocking, the lock associated with the failCommand failpoint is held, so if another connection tries to disable this failpoint, that configureFailPoint command will also block. This should be fixed so that test cleanup can disable a blocking failCommand failpoint without killing the operation.

            Assignee:
            Unassigned Unassigned
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: