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

Prevent TTL Monitor from running collMod during rollback and initial sync fuzzers

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • CAR Team 2024-08-19, CAR Team 2024-09-02, CAR Team 2024-09-16, CAR Team 2024-09-30, CAR Team 2024-10-14, CAR Team 2024-10-28
    • 0
    • 2

      This is a scenario that can lead a test failure:

      1. A prepared transaction is recovered on stepUp, which acquires MODE_IX lock of a collection C
      2. TTLMonitor starts collMod of C, which tries to acquire MODE_X lock and put to wait
      3. test sends an insert command to C, which tries to acquire MODE_IX lock and put to wait.
      4. The next commitTransaction command can't be issued because the test is single threaded and waits for cmd insert command to finish, thus the deadlock.
       

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            daotang.yang@mongodb.com Daotang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: