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

Treat queued task reporting for adaptive service executor consistently

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.4, 3.7.1
    • None
    • Fully Compatible
    • v3.6
    • Platforms 2017-12-18

    Description

      The current metrics for reporting tasks queued are inconsistent and a bit confusing:

      deferredTasksQueued    instantaneous, deferred tasks only
      tasksQueued            instantaneous, non-deferred tasks only
      totalTimeQueued        cumulative time, both deferred and non-deferred tasks
      

      • the instantaneous metric "tasksQueued" includes only non-deferred whereas the cumulative metric "totalTimeQueued" includes both deferred and non-deferred
      • there is a cumulative time-based metric for the combined deferred and non-deferred but not for separately reporting deferred and non-deferred

      Generally the cumulative time-based counters are better because they allow computing averages over arbitrary sampling intervals so are less subject to sampling errors than instantaneous values. One approach would be to eliminate the intantaneous metrics and report only cumulative time-based metrics, broken out by type (deferred vs non-deferred).

      Probably related to SERVER-30567.

      Attachments

        Issue Links

          Activity

            People

              fiona.rowan@mongodb.com Fiona Rowan
              bruce.lucas@mongodb.com Bruce Lucas
              Votes:
              22 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: