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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.1, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • 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.

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: