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

Simplify AvailabilityNotifierImpl to support speculative scheduler and improve performance

    XMLWordPrintableJSON

Details

    Description

      The AvailabilityNotifierImpl in SingleInputGate has maps storing the channel ids. But the map key is the result partition id, which will change according to the different attempt numbers when speculation is enabled. This can be resolved by using `inputChannels` to get channel and the map key of inputChannels will not vary with the attempts.
      In addition, using that map instead can also improve performance for large scale jobs because no extra maps are created.

      Attachments

        Issue Links

          Activity

            People

              tanyuxin Yuxin Tan
              tanyuxin Yuxin Tan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: