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

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

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

      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@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: