[SERVER-67026] InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on LockTimeout errors Created: 05/Jun/22  Updated: 29/Oct/23  Resolved: 09/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc10, 6.1.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:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Sharding NYC 2022-06-13
Participants:
Linked BF Score: 34

 Description   

As shown in BF-25087, the js tests that use the InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures can sometimes get LockTimeout errors (for the config database) when trying to commit internal transactions. These timeout errors are rare but unavoidable. The two fixtures should be modified to retry internal transactions upon LockTimeout errors just like how the transaction API and the InternalTransactionReshardingTest retry internal transactions upon transient errors.



 Comments   
Comment by Githook User [ 09/Jun/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-67026 Add new line to fixture_helpers.js

(cherry picked from commit a3c2a6a8c963955263620bb39b64732ac4110623)
Branch: v6.0
https://github.com/mongodb/mongo/commit/afab6f83edabb4550a18ccfb8bd7d81d8c688adc

Comment by Githook User [ 09/Jun/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-67026 InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on LockTimeout errors

(cherry picked from commit 26a4d4f3da2e4c7afc3bcc506049e6957d665c7e)
Branch: v6.0
https://github.com/mongodb/mongo/commit/8e7fb8c5c467c58a3a0862c903efaa2a7f6b3bed

Comment by Githook User [ 09/Jun/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-67026 Add new line to fixture_helpers.js
Branch: master
https://github.com/mongodb/mongo/commit/a3c2a6a8c963955263620bb39b64732ac4110623

Comment by Githook User [ 09/Jun/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-67026 InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on LockTimeout errors
Branch: master
https://github.com/mongodb/mongo/commit/26a4d4f3da2e4c7afc3bcc506049e6957d665c7e

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