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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Query Execution
    • None
    • Fully Compatible
    • Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-04-19
    • 0

    Description

      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.

      Attachments

        Activity

          People

            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: