[SERVER-55334] Improve closed ChangeStream detection and diagnostic output in jstests/change_streams/apply_ops.js Created: 19/Mar/21  Updated: 29/Oct/23  Resolved: 09/Apr/21

Status: Closed
Project: Core Server
Component/s: Query Execution
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Mindaugas Malinauskas Assignee: Mindaugas Malinauskas
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-04-19
Participants:
Linked BF Score: 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.



 Comments   
Comment by Githook User [ 09/Apr/21 ]

Author:

{'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}

Message: SERVER-55334 Improve closed ChangeStream detection and diagnostic output in jstests/change_streams/apply_ops.js
Branch: master
https://github.com/mongodb/mongo/commit/becf510a4e45bea3513f0a2b1880e2aab18a4e1d

Generated at Thu Feb 08 05:36:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.