JS tests shouldn't assume the prepare oplog entry is the first in transaction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.13
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-06-03
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      JS tests made assumptions on the oplog entries written by transactions, especially some tests may check prepare oplog entry is the first, as in inmemory_preserves_active_txns.js and server_transaction_metrics_for_prepared_transactions.js.

      With large transactions packing format, that may or may not be true depending on maxNumberOfTransactionOperationsInSingleOplogEntry.

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: