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

loadLastOpTimeAndWallTime should use IDL to parse oplog entries

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0, v3.6
    • Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23

    Description

      As of SERVER-40080 here the "wall" field of oplog entries no longer became optional like it is in the IDL. If we used the IDL for parsing the oplog entry there, then this backwards breaking change wouldn't have happened since the IDL considers it optional. This actually should be safe since we've been adding 'wall' since 3.6 and it's about time we made it mandatory, but we should do that in the IDL, not in one particular place where we parse the oplog entry individually.

      Specifically, we should use the OplogEntry class to parse oplog entries everywhere.

      Attachments

        Issue Links

          Activity

            People

              xuerui.fa@mongodb.com Xuerui Fa
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: