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

Maintain original read concern for $currentOp in passthrough suites that change read concern

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • Fully Compatible
    • 70

    Description

      With SERVER-47603 the db.currentOp() shell helper uses the aggregation $currentOp stage instead of calling the currentOp server command. Both only support read concern "local", however passthrough suites that change read concern only change the read concern of the aggregation command and maintain the original read concern of the currentOp command. With the change from the server command to $currentOp, some jstests that use the db.currentOp() shell helper had the assumes_read_concern_unchanged blocklist tag added. To add this test coverage back, we should skip changing an aggregate command's read concern in passthroughs that change read concern if it has a $currentOp stage.

      Attachments

        Issue Links

          Activity

            People

              katherine.wu@mongodb.com Katherine Wu (Inactive)
              katherine.wu@mongodb.com Katherine Wu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: