Coverity Quality Issue 185132: Missing unlock

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines - Transactions
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Coverity found a Quality issue: Missing unlock

      Details:

      Coverity Issue ID: 185132
      Issue Description: Missing a release of a lock on a path
      Potential Impact: May result in deadlock if there is another attempt to acquire the lock.
      Coverity checker: LOCK
      Branch: master
      File path: /src/mongo/db/transaction/session_catalog_mongod_transaction_interface_impl.cpp
      Line number: Unknown

      What Coverity Detected (Main Finding)

      Returning without unlocking "opCtx->_client".

      The issue can be viewed in Coverity here.

      How do I fix this?

      Refer to https://wiki.corp.mongodb.com/spaces/HGTC/pages/385852267/Guidance+on+fixing+Coverity+issues for guidance on fixing Coverity issues.

      This is a false positive, what do I do?

      Follow the process outlined in go/vuln-flow

            Assignee:
            Unassigned
            Reporter:
            kondukto-svc@mongodb.com
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: