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

When flushAlways is enabled the subpartition may lose notification of data availability

    XMLWordPrintableJSON

Details

    Description

      When the flushAways is enabled (namely set buffer timeout to 0), there might be cases like:

      1. The subpartition emit an event which blocks the channel
      2. The subpartition produce more records. However, this records would not be notified since isBlocked = true.
      3. When the downstream tasks resume the subpartition later, the subpartition would only mark isBlocked to false. For local input channels although it tries to add the channel if isAvailable = true, but this check would not pass since flushRequest = false. 

      One case for this issue is https://issues.apache.org/jira/browse/FLINK-22085 which uses LocalInputChannel.

      Attachments

        Issue Links

          Activity

            People

              gaoyunhaii Yun Gao
              gaoyunhaii Yun Gao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: