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

make OplogEntry immutable

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc4
    • 3.5.13
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2017-11-13

    Description

      Current definition of == compares the 'raw' member variable. The 'raw' variable is only set in the constructor. If the object is mutated after, for example, calling setFromMigrate(), then it will no longer match the actual object.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: