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

Channel state (upstream) can be restored after emission of new elements (watermarks)

    XMLWordPrintableJSON

Details

    Description

      In StreamTask.beforeInvoke:

      1. operatorChain.initializeStateAndOpenOperators(createStreamTaskStateInitializer());

      2. readRecoveredChannelState();

       But operatorChain.initializeStateAndOpenOperators can emit watermarks (or potentially some other stream elements).

       I've encountered this issue while adding an EndOfRecovery marker - in some runs of in OverWindowITCase.testRowTimeBoundedPartitionedRangeOver the marker was emitted after the watermark.

       

      cc: zjwang, pnowojski

      Attachments

        Issue Links

          Activity

            People

              roman Roman Khachatryan
              roman Roman Khachatryan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: