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

Chaining operators with different max parallelism prevents rescaling

    XMLWordPrintableJSON

Details

    Description

      We might chain operators with different max parallelism together if they are set to have the same parallelism initially.

      When we decide to rescale the JobGraph vertices (using AdaptiveScheduler), we're gapped by the lowest maxParallelism of the operator chain. This is especially visible with things like CollectSink, TwoPhaseCommitSink, CDC, and a GlobalCommiter with maxParallelism set to 1.

       

      An obvious solution would be to prevent the chaining of operators with different maxParallelism, but we need to double-check this doesn't introduce a breaking change.

      Attachments

        Issue Links

          Activity

            People

              dmvk David Morávek
              dmvk David Morávek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: