tiflow icon indicating copy to clipboard operation
tiflow copied to clipboard

framework(engine): 'Exit' should return 'TerminatedError' to trigger 'StopImpl'

Open maxshuang opened this issue 2 years ago • 0 comments

What did you do?

The semantic of Exit was mistakenly changed by https://github.com/pingcap/tiflow/pull/6792. Since Exit should trigger StopImpl, so It need to return TerminateError.

image

What did you expect to see?

No response

What did you see instead?

.

Versions of the cluster

Dataflow Engine version (run tiflow version):

master

maxshuang avatar Sep 17 '22 02:09 maxshuang