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

invalidated_cursors.js FSM workload should ensure killOp is sent to same node as currentOp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.5, 4.1.6
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • 15

      When the invalidated_cursors.js workload is run in the concurrency_replication_causal_consistency suite, the $currentOp aggregation is sent to the pinned secondary, but the killOp command is sent to the primary. This can cause the test to fail due to an operation unexpectedly failing on the primary. We should ensure that the killOp command is sent to the same node as the $currentOp aggregation.

      This probably also applies to the killCursors command in the same test, though that is less likely to collide across two nodes, since it is chosen randomly, unlike opIds, which are chosen incrementally.

      This is the only FSM workload that is run in the causal consistency suites and uses killOp. We may experience a similar issue with killCursors in kill_multicollection_aggregation.js.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: