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

Use non-snapshot read concern for sharded transaction in aggregation_currentop.js

    • Fully Compatible
    • v4.2
    • Sharding 2019-10-07
    • 35

      To test the $currentOp output for sharded transactions, sharding/aggregation_currentop.js starts a transaction through mongos using "snapshot" read concern, which can occasionally with SnapshotTooOld, which mongos can't retry on until SERVER-39704 is completed. The test doesn't rely on the particular read concern level of this transaction, so to avoid this problem the transaction can use a read concern level that does not require a global snapshot - majority, local, or none.

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: