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

ShardingDataTransformInstanceMetrics reads uninitialized value

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • Sharding NYC 2022-06-13, Sharding 2022-06-27
    • 33

    Description

      when registering new metrics.

      When it creates a new instance here, it registers the observer to itself to the cumulative metrics class. This will then the trigger the comparator to check the values of the startTime. However, the startTime value is initialized after the registration so it is reading an uninitialized value.

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: