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

Rely on withTxnAndAutoRetry to retry txns on access_collection_in_transaction_after_catalog_changes.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-09-30
    • 200

      The test access_collection_in_transaction_after_catalog_changes.js has its own list of retryable txn errors instead of relying on the withTxnAndAutoRetry retry mechanism. This list is a subset of all the retryable errors considered transient errors., but misses some of them like the NoSuchTransaction error among others.

      We should remove this standalone list and rely just on the withTxnAndAutoRetry lib.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: