change timing for 'dur' so it doesn't include timing for recordStats; potentially slowing down serverStatus

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.2.0
    • Component/s: Admin
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      It seems that the code to generate "dur" is unchanged for 2.2.0, but the timing for "dur" includes the timing for recordStats, which is new. See dbcommands.cpp around line 651.

      suggestion: the timeBuilder for "after dur" should be done right after the "dur" section, and a separate timeBuilder should be done after recordStats. Since it is currently lumping both times together but calling it "dur"

            Assignee:
            Unassigned
            Reporter:
            Barrie Segal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: