stale_config_error_for_direct_shard_operation.js: transaction in `withRetryOnTransientTxnError` cannot be retried

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-10-14, CAR Team 2024-10-28
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test stale_config_error_for_direct_shard_operation.js expects to run insert operations on a node without routing information by forcing a stepup of a secondary. The test runs inside a withRetryOnTransientTxnError block. If the function is retried due to a transient error, the second time around a new primary would step up, which can be the original primary, which has updated routing information, breaking the expectations of the test.

            Assignee:
            Aitor Esteve Alvarado
            Reporter:
            Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: