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

Improve naming of secs_running / microsecs_running

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Labels:

      In currentOp output, the "secs_running" and "microsecs_running" field names are somewhat misleading. They are actually the number of secs/microsecs since the operation started. The connotation of "_running" is that the operation has been actively running for all of this time, but that might not be the case.

      Better would be something like "(micro)secs_elapsed" or "(micro)secs_since_start".

      Unfortunately straight out renaming the fields is likely to be impossible due to breaking backwards compatibility.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: