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

StatusWatermarkValve has different min watermark advancement behavior depending on the ordering inputs become idle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.2.1, 1.3.2, 1.4.0
    • 1.3.4, 1.4.0
    • API / DataStream
    • None

    Description

      Currently, once all inputs of a StatusWatermarkValve becomes idle, we only emit the StreamStatus.IDLE marker, and check nothing else. This makes the watermark advancement behavior inconsistent in the case that all inputs become idle, depending on the order that they become idle.

      Consider the following setup:

      Channel #1: Watermark 10, ACTIVE
      Channel #2: Watermark 5, ACTIVE
      Channel #3: Watermark 5, ACTIVE
      

      If the channels become IDLE with the order #2 -> #3 -> #1, watermark 10 will be emitted as the new min watermark once both #2 and #3 becomes idle.
      On the other hand, if the order is #1 -> #2 -> #3, watermark 10 will not be emitted.

      Attachments

        Issue Links

          Activity

            People

              tzulitai Tzu-Li (Gordon) Tai
              tzulitai Tzu-Li (Gordon) Tai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: