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

Remove BSON middle-step in MutableOplogEntry to ReplOperation type conversion

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2023-03-06, Execution Team 2023-03-20

    Description

      The simplest approach to converting a MutableOplogEntry to a ReplOperation was to dump to BSON.

       

      Given that this isn't necessary and we know which elements of a MutableOplogEntry matter to a ReplOperation, it is conceivable to construct a ReplOperation manually and skip the intermediate step of creating a BSONObj and parsing it.

      Attachments

        Activity

          People

            matt.kneiser@mongodb.com Matt Kneiser
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: