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

Only scale down JM in Foreground deletion propagation and reduce timeout

    XMLWordPrintableJSON

Details

    Description

      We introduced a logic to scale down the JobManager before the task managers are killed to have a more graceful shutdown sequence.

      Currently this is always done in native mode, but it makes more sense to restrict this functionality to foreground deletion. Foreground deletion is the default and recommended propagation but in some cases users may want to use background deletion to speed up the process. In these cases we should not force a synchronous, potentially slow step.

      Furthermore instead of using the entire deletion timeout we should reduce this to only use a portion of it as it's an optional step and we should always have keep enough time for the TM shutdown.

      Attachments

        Issue Links

          Activity

            People

              gyfora Gyula Fora
              gyfora Gyula Fora
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: