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

Call getValue() only once in gauge serialization

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.4.3, 1.5.0
    • Component/s: Runtime / Metrics
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: