[SERVER-55859] Add multiversion full cluster changestreams hook Created: 07/Apr/21  Updated: 29/Oct/23  Resolved: 18/Aug/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-55862 Add multiversion retryable writes and... Closed
Problem/Incident
causes SERVER-70045 RunChangeStreamsInBackground hook res... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2021-07-12, STM 2021-07-26, STM 2021-08-23
Participants:
Story Points: 3

 Description   

The change streams sharded cluster suites will run tests in jstests/core with a new change_streams hook in Python that does the following

  • Open a change stream every X tests where X is random from 0 to 10 to cover potential edge cases.
  • run the background stepdown hook with downgrade
  • wait for X tests to run
  • Wait for change streams to complete and ensure there are no crashes and go back to step 1

Commands that invalidate change streams (i.e. ones that are not compatible with change streams) will need to be excluded in the suite YAML.

We'll file a followup ticket for Query to implement targeted tests for downgrade of change stream invalidate events. We should also check if there is existing test coverage



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 18/Aug/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-55859 Add multiversion full cluster changestreams hook
Branch: master
https://github.com/mongodb/mongo/commit/993a1658d6ef071d2d3859ad0357dff914da74fa

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