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

remove Error Status construction from IndexBuildsCoordinator

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2019-10-21

      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.

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

              Created:
              Updated:
              Resolved: