7.0 -- Coverity analysis defect 169289: Double lock

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 7.0.17
    • Component/s: Internal Code
    • Storage Engines - Server Integration
    • ALL
    • meow meow meow - 2025-04-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Double lock

      May result in immediate deadlock. Attempt to acquire a non-recursive lock that is already held
      /src/mongo/db/commands/fsync.cpp:358: LOCK 169289 "unique_lock" locks "mongo::<unnamed>::fsyncCmd.lockStateMutex". [Note: The source code implementation of the function has been overridden by a builtin model.]
      /src/mongo/db/commands/fsync.cpp:358: LOCK 169289 "stateLock" and "mongo::<unnamed>::fsyncCmd.lockStateMutex" point to the same lock. [Note: The source code implementation of the function has been overridden by a builtin model.]

              Assignee:
              Adeline Chen
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: