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

SlotManagers should unregister metrics at the start of suspend()

    XMLWordPrintableJSON

Details

    Description

      Slotmanagers register metrics in start(), but only unregister them in close().

      This has 2 issues:

      a) If the SM is restarted it cannot re-register the metrics because the old ones are still present; this isn't a critical problem (because the old ones still work) but it produces unnecesasry logging noise

      b) The metric may produce an NPE when accessed by a reporter during suspend().

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: