Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13423

Investigate changes in SERVER-42165: Replace standalone uses of stdx::mutex with mongo::mutex

    XMLWordPrintableJSON

Details

    Description

      Description

      Downstream Change Summary

      This commit added the "waitingForLatch" field to currentOp operations that describes resource contention blocking that operation. It should have "timestamp" and "captureName" subfields. (See https://github.com/mongodb/mongo/commit/3a05e4ce75cd03b09b52ec5943e1801c6d91279b#diff-56ff68d4399e2a442469697b45f014c4R307-R321 for BSON construction.)

      Description of Linked Ticket

      We can't yet replace uses of stdx::mutex where it is used with stdx::condition_variable (or similar external interfaces). However, we can go through and replace all uses where it is used for simple unique_lock/lock_guard.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 46 weeks, 2 days ago