Closed Serpentiel closed 6 months ago
I don't think implementing the whole proprietary state machine is a good idea. It is just pure over-engineering to me.
proprietary state machine
Apache Flink is Open Source...
implementing the whole proprietary state machine is a good idea
There's no state machine in this PR. There's a map of possible state transitions, but the actual transitions happen on the backend side. We simply are checking what can we do with the states that were returned to us by the backend, to avoid doing things that aren't allowed. I would call it a state-tracking mechanism instead, because we don't produce any states and only operate based on the existing ones.
Closing in favor of #1611
Merge this PR instead of squashing it!
About this change—what it does
flink_application_deployment
flink_application_deployment
(there are some states during which neitherDelete
orCancel
will succeed, this is accounted for in this PR)Why this way
it misbehaves at the moment