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

remove Error Status construction from IndexBuildsCoordinator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2019-10-21

    Description

      https://github.com/mongodb/mongo/blob/906ac3ca78d352df2d0dd45350195251efe0dea1/src/mongo/db/index_builds_coordinator.cpp#L833

      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

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: