Fix the lifetime of ScopedMetricsCollector in ExecCommandDatabase

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Service arch 2020-11-16
    • 43
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The instance of ScopedMetricsCollector (defined here) should not go out-of-scope so long as ExecCommandDatabase's future-chain (define here) is not executed. This would ensure that the metrics collector remains in scope long enough to collect its desired metrics.

              Assignee:
              Amirsaman Memaripour
              Reporter:
              Amirsaman Memaripour
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: