Improve closed ChangeStream detection and diagnostic output in jstests/change_streams/apply_ops.js

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Query Execution
    • None
    • Fully Compatible
    • Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-04-19
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Improve prematurely closed ChangeStream detection and output diagnostic information in jstests/change_streams/apply_ops.js and other tests that use change_stream_util.js.

      The test code should detect when the cursor has been closed due to invalidation of the change stream and output the events collected from the change stream until the event of invalidation.

      Those improvements, hopefully, will give more clues on why the test failed when we experience again a failure similar to one reported in BF-20098.

            Assignee:
            Mindaugas Malinauskas (Inactive)
            Reporter:
            Mindaugas Malinauskas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: