Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9210

Call getValue() only once in gauge serialization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.2
    • 1.4.3, 1.5.0
    • Runtime / Metrics
    • None

    Description

      MetricDumpSerialization.serializeGauge() calls gauge.getValue twice in gauge serialization. This is troublesome for those who reset gauges in getValue. serializeGauge() should only call getValue once.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              silven1117 Jisu You
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: