Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68443

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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: