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

loadLastOpTimeAndWallTime should use IDL to parse oplog entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0, v3.6
    • Sprint:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: