[SERVER-64658] Increase transactionLifetimeLimitSeconds in txn_two_phase_commit_failure.js Created: 18/Mar/22 Updated: 29/Oct/23 Resolved: 19/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 33 | ||||||||||||
| Description |
|
txn_two_phase_commit_failure.js explicitly overwrites TestData.transactionLifetimeLimitSeconds since the default value is 24 hours and the test contains a test case that makes the coordinator hang before writing the participant list and then checks that the transaction is aborted on the coordinator when the transaction times out. It turns out that the current timeout (10 seconds) can cause transactions to expire before the test completes so we should increase the timeout further, maybe 30 seconds like in the other jstests. Please this comment in BF-24666 for more info. |
| Comments |
| Comment by Githook User [ 18/Mar/22 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: |