[SERVER-68443] InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on all transient errors Created: 30/Jul/22  Updated: 29/Oct/23  Resolved: 01/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.1, 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
Participants:
Linked BF Score: 25

 Description   

SERVER-67026 added a helper for making the fixtures retry internal transactions on LockTimeout errors. However, it doesn't handle the following case:

  • The transaction involves two-phase commit and prepareTransaction fails with a LockTimeout error on one of the participant.
  • The coordinator sends abortTransaction to all participant shards and get back NoSuchTransaction from the shard above.
  • The transaction fails with a NoSuchTransaction error instead of LockTimeout.

Given this, the helper should be made to retry all transient transaction errors instead.



 Comments   
Comment by Githook User [ 02/Aug/22 ]

Author:

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

Message: SERVER-68443 InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on all transient errors

(cherry picked from commit 6140491d37be5547bfe28d4de5505acc763006b2)
Branch: v6.0
https://github.com/mongodb/mongo/commit/e37e36ccd6068f8aba1999f5ab922f8bcdb4afa8

Comment by Githook User [ 01/Aug/22 ]

Author:

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

Message: SERVER-68443 InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on all transient errors
Branch: master
https://github.com/mongodb/mongo/commit/6140491d37be5547bfe28d4de5505acc763006b2

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