Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12477 Change threading-model in StreamTask to a mailbox-based approach
  3. FLINK-14156

Execute/run processing timer triggers taking into account operator level mailbox loops

    XMLWordPrintableJSON

    Details

      Description

      With FLINK-12481, the timer triggers are executed by the mailbox thread and passed to the mailbox with the maximum priority.

      In case of operators that use mailbox.yield() (introduced in FLINK-13248), current approach may execute timer triggers that belong to an upstream operator. Such timer trigger, may potentially call processElement|Watermark() which eventually would come back to the current operator. This situation may be similar to FLINK-13063.

      To avoid this, the proposal is to set mailbox letters priorities of timer triggers with the priority of the operator that the trigger belongs to.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                1u0 Alex
                Reporter:
                1u0 Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m