InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on LockTimeout errors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc10, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Sharding NYC 2022-06-13
    • 34
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: