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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.13
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-06-03
    • 0

    Description

      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.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: