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

Managed memory released check can block RPC thread

    XMLWordPrintableJSON

Details

    Description

      UnsafeMemoryBudget#verifyEmpty, called on slot freeing, needs time to wait on GC of all allocated/released managed memory. If there are a lot of segments to GC then it can take time to finish the check. If slot freeing happens in RPC thread, the GC waiting can block it and TM risks to miss its heartbeat.

      Attachments

        1. log2.png
          146 kB
          Caizhi Weng
        2. log1.png
          519 kB
          Caizhi Weng

        Issue Links

          Activity

            People

              azagrebin Andrey Zagrebin
              azagrebin Andrey Zagrebin
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: