When looking into
FLINK-21030 analyzing the stop-with-savepoint behavior we implemented different test jobs covering the old addSource and new fromSource methods for adding sources. The stop-with-savepoint consists of two phase:
- Create the savepoint
- Stop the source to trigger finalizing the job
The test failing in the second phase using fromSource does not succeed. The reason for this might be that finishTask is not implemented by SourceOperatorStreamTask in contrast to SourceStreamTask which is used when calling addSource in the job definition. Hence, the job termination is never triggered.
We might have missed this due to some naming error of JobMasterStopWithSavepointIT test that is not triggered by Maven due to the wrong suffix used in this case. The IT is failing right now.
FLINK-21031 is covering the fix of JobMasterStopWithSavepointIT already.
- is related to
FLINK-21133 FLIP-27 Source does not work with synchronous savepoint