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

Access to gauges and counters in StatsDReporter#report() is not properly synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

          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());
      

      Access to gauges and counters should be protected by lock on AbstractReporter.this

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: