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

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

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

      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@mongodb.com Mindaugas Malinauskas
            Reporter:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: