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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.13
    • Component/s: Replication
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              Assignee:
              siyuan.zhou Siyuan Zhou
              Reporter:
              siyuan.zhou Siyuan Zhou
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: