Some fsm tests are not properly throwing errors up to auto_retry_transaction.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-05-26
    • 0
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      The test agg_lookup.js captures any exception thrown by an aggregation command to avoid failing when the command fails with expected errors caused by chunk or collection movements, like QueryPlanKilled.

      However, if the suite has been configured to work with multi-statement transactions, all the errors thrown by the test state are captured by the auto_retry_transactions.js machinery, so the entire state gets retried for specific errors.

      The problem is that when agg_lookup.js fails with ShardNot found, instead of throwing the original ShardNot error, the test is failing with an assert exception because of this check.

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: