Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.18.0, 1.17.2
Description
FLINK-21945 will convert the unaligned checkpoint barrier and timeoutable aligned checkpoint barrier to force aligned barrier. However, Force aligned barrier logic doesn't work for timeoutable aligned checkpoint barrier.
Bug at org.apache.flink.streaming.runtime.io.RecordWriterOutput#broadcastEvent, we will call withUnalignedUnsupported to transmit the unaligned checkpoint barrier to FORCED_ALIGNED barrier when the shuffle type cannot use unaligned checkpoint.
However, the if has one condition: isPriorityEvent. When aligned checkpoint timeout is enabled, flink will emit one timeoutable barrier. It isn't PriorityEvent.
But timeoutable barrier should call withUnalignedUnsupported here.