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

Force aligned barrier logic doesn't work when the aligned checkpoint timeout is enabled

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            fanrui Rui Fan
            fanrui Rui Fan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: