cleanupOnLastIteration() should tolerate an interruption for multi_statement_transaction_all_commands.js

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2018-10-22
    • 11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      cleanupOnLastIteration() is used in both snapshot_read_kill_operations and multi_statement_transaction_all_commands.js. It should tolerate an abort errorCode of `interrupted` for snapshot_read_kill_operations.js only, so we should change cleanupOnLastIteration() to take abortErrorCodes as a parameter. Then, we can pass `[ErrorCodes.NoSuchTransaction, ErrorCodes.TransactionCommitted, ErrorCodes.TransactionTooOld]` for multi_statement_transaction_all_commands.js, and also add `ErrorCodes.Interrupted` for snapshot_read_kill_operations.js.

            Assignee:
            Janna Golden
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: