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

InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on LockTimeout errors

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

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

              Created:
              Updated:
              Resolved: