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

[SERVER] Investigate changes in SERVER-80498: Improve thread safety of ReadConcernArgs modification

      Original Downstream Change Summary

      $currentOp output for multi-document transactions used to display the actual readConcern being used. In some cases this could lead to intermittent instances of an operation displaying a different readConcern than the user-provided due to internal operations that temporarily changed it.

      With the merged ticket, $currentOp will now display the user-provided readConcern without the possibility of intermittent changes.

      Description of Linked Ticket

      There is a harmless race between a thread performing an operation using DBDirectClient that temporarily resets the ReadConcernArgs (example) and the currentOps method reading the ReadConcernArgs of the target operation (code).

      The main risk potential for this is an operation printing potentially wrong information for the read concern used. This would occur if the currentOp thread acquired a copy of the data while the temporary reset was happening.

            Assignee:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              24 weeks, 3 days ago