[SERVER-39678] Comprehensive test for resuming a Change Stream with prepared transactions Created: 19/Feb/19  Updated: 29/Oct/23  Resolved: 21/Mar/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.1.10

Type: Improvement Priority: Major - P3
Reporter: Justin Seyster Assignee: James Wahlin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-40094 Do not prematurely reject resume atte... Closed
depends on SERVER-39674 Modify Change Streams match filter to... Closed
depends on SERVER-39675 Look up prepared transaction when a C... Closed
Duplicate
is duplicated by SERVER-36887 Test a change stream's ability to pro... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-03-11, Query 2019-03-25, Query 2019-04-08
Participants:

 Description   
  1. While a Change Stream is open on a single replica set, the test prepares multiple transactions, executes writes without a transaction, commits at least one prepared transaction, and aborts at least one prepared transaction.
    • The test asserts that all operations appear in commit order and operations from aborted transactions do not appear as changes in the Change Stream.
    • It then resumes the Change Stream from each possible resume token, ensuring that is sees the same stream of events each time.
  2. A sharded test performs the same operations and checks as above, using sharded transactions instead, and ensuring that writes occur on multiple shards.


 Comments   
Comment by Githook User [ 21/Mar/19 ]

Author:

{'name': 'James Wahlin', 'username': 'jameswahlin', 'email': 'james@mongodb.com'}

Message: SERVER-39678 Comprehensive test for resuming a Change Stream with prepared transactions
Branch: master
https://github.com/mongodb/mongo/commit/e3970d050b4ff6523317616e76c0dc97d87b332e

Generated at Thu Feb 08 04:52:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.