[SERVER-41280] JS tests shouldn't assume the prepare oplog entry is the first in transaction Created: 22/May/19  Updated: 29/Oct/23  Resolved: 28/May/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.13

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-41265 Fix and remove exclude_from_large_txn... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2019-06-03
Participants:
Linked BF Score: 0

 Description   

JS tests made assumptions on the oplog entries written by transactions, especially some tests may check prepare oplog entry is the first, as in inmemory_preserves_active_txns.js and server_transaction_metrics_for_prepared_transactions.js.

With large transactions packing format, that may or may not be true depending on maxNumberOfTransactionOperationsInSingleOplogEntry.



 Comments   
Comment by Githook User [ 28/May/19 ]

Author:

{'name': 'Siyuan Zhou', 'email': 'siyuan.zhou@mongodb.com', 'username': 'visualzhou'}

Message: SERVER-41280 JS tests shouldn't assume the prepare oplog entry is the first in transaction
Branch: master
https://github.com/mongodb/mongo/commit/ef8d28dc326f33c637123f169e1ee3ce3219ee09

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