Remove BSON middle-step in MutableOplogEntry to ReplOperation type conversion

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2023-03-06, Execution Team 2023-03-20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Matt Kneiser
            Reporter:
            Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: