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

Initialize Summation in aggregated_metric.h with initial zero value.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      In AggregatedMetric (see aggregated_metric.h), when the Summation<T> defaults to a the underlying POD type summation (not DoubleDum case), the Summation objects are default initialized without a 0 value. Provide zero initialization for these summations.

            Assignee:
            santiago.roche@mongodb.com Santiago Roche
            Reporter:
            santiago.roche@mongodb.com Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: