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

remove Error Status construction for every applyOp'd op

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Storage
    • Fully Compatible
    • Execution Team 2019-09-09, Execution Team 2019-09-23

    Description

      https://github.com/mongodb/mongo/blob/cb65f662017c8661cec0f4e07d08b829a1a67ad6/src/mongo/db/repl/apply_ops.cpp#L129

      This line of code is hinted as Cold to the compiler, which can affect branch prediction and performance. We should refactor to remove this line or replace it with one that uses Status::OK, which is not hinted as Cold.

      Attachments

        Activity

          People

            evgeni.dobranov@mongodb.com Evgeni Dobranov
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: