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

Inconsistent Reporter synchronization within report()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • Runtime / Metrics
    • None

    Description

      There are currently 2 distinct approaches to how added/removed metrics are handled while a Reporter is in report().

      The StatsDReporter simply catches possible exceptions (ConcurrentModificationException/NoSuchElementException) and reports the next time, while all other reporters access the metrics in a synchronized block.

      We should have a clear line as to which approach people should use.

      Whether FLINK-3998 is a valid issue depends on this decision.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: