flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3998) Access to gauges and counters in StatsDReporter#report() is not properly synchronized
Date Tue, 31 May 2016 16:28:12 GMT
Ted Yu created FLINK-3998:
-----------------------------

             Summary: Access to gauges and counters in StatsDReporter#report() is not properly
synchronized
                 Key: FLINK-3998
                 URL: https://issues.apache.org/jira/browse/FLINK-3998
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu


{code}
    for (Map.Entry<Gauge<?>, String> entry : gauges.entrySet()) {
      reportGauge(entry.getValue(), entry.getKey());
    }

    for (Map.Entry<Counter, String> entry : counters.entrySet()) {
      reportCounter(entry.getValue(), entry.getKey());
{code}
Access to gauges and counters should be protected by lock on AbstractReporter.this



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message