Capture per-phase index build duration

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We would like visibility into the duration of each index build phase. To do this,

      1. Add metrics to indexBuildsSSS for each duration.
      2. Calculate elapsed time for each phase and store the value.

      It's convenient that we already have counters for each phase, and each counter is incremented in a function call where we have access to ReplIndexBuildState, so we can just calculate the elapsed time at each location where the respective counter is incremented using ReplIndexBuildState::getIndexBuildMetrics() to get startTime.

            Assignee:
            Unassigned
            Reporter:
            Cedric Sirianni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: