InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on all transient errors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.1, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • 25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Cheahuychou Mao
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: