[SERVER-56320] txn_two_phase_commit_failure.js has an aggressive transactionLifetimeLimitSeconds value. Created: 23/Apr/21  Updated: 29/Oct/23  Resolved: 17/May/21

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

Type: Bug Priority: Major - P3
Reporter: Kshitij Gupta Assignee: Lamont Nelson
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-64658 Increase transactionLifetimeLimitSeco... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 39

 Description   

The  transactionLifetimeLimitSeconds value is currently set to 5s in the test. This causes failures sometimes when the test runs on EVG since when the timeout is hit, the transaction coordinator is removed from memory causing a NoSuchTransaction error when we don't expect it. We should increase this value.

 

Example logs of a timeout and transaction coordinator being removed from memory can be found here.



 Comments   
Comment by Githook User [ 17/May/21 ]

Author:

{'name': 'LaMont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}

Message: SERVER-56320: increase txn timeout
Branch: master
https://github.com/mongodb/mongo/commit/ead70eb7f57c6d0c711ddf8d1de655d04de4094b

Comment by Lamont Nelson [ 17/May/21 ]

code review: https://mongodbcr.appspot.com/798050001/

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