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

remove 'prepared' field from commitTransaction oplog entry format

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.12
    • Component/s: Replication
    • Labels:
      None

      Description

      The prepared field was originally intended to be used for both prepared and unprepared transactions. This is no longer the case as large unprepared transactions spanning multiple oplog entries no longer include a commitTransaction oplog entry. We should consider removing the prepared field from the IDL for the CommitTransactionOplogObject class and update all js and c++ tests that still include the prepared field in a commitTransaction oplog entry.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: