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

Avoid holding CSR lock when hangBeforeThrowWouldChangeOwningShard failpoint is paused

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.1
    • CAR Team 2025-03-17
    • 200
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      https://jira.mongodb.org/browse/SERVER-100158 has introduced potential dead lock:

      In this test there are three relevant threads: (1) the parent JS test shell, (2) the parallel JS test shell and (3) the range deleter.

      Based on the stack dumps we have (more details can be found in https://jira.mongodb.org/browse/BF-36871):

      The parallel JS test shell is sitting waiting on a failpoint, within the update stage while holding an IX lock. The failpoint can only be unblocked by the parent JS test shell.

       

            Assignee:
            igor.praznik@mongodb.com Igor Praznik
            Reporter:
            igor.praznik@mongodb.com Igor Praznik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: