Flink: Maintenance - Lock remover#11010
Conversation
| duration, | ||
| taskResult.success(), | ||
| taskResult.exceptions()))); | ||
| lock.unlock(); |
There was a problem hiding this comment.
I don't quite follow the logic.
the lock is always unlocked in both processElement and processWatermark, when will this lock will be locked, in the TriggerManager?
There was a problem hiding this comment.
You can check the Locking paragraph in the design doc: https://docs.google.com/document/d/16g3vR18mVBy8jbFaLjf2JwAANuYOmIwr15yDDxovdnA
If you still have questions, feel free to ask
|
@stevenzwu: I didn't get answer for my question on the Flink dev list about the output of the PostCommitTopology. See: https://lists.apache.org/thread/28qb1q6b7kz30dqjdbsw855osx4t38s7 I created some unit test and checked that if we return After some back-and-forth myself, I decided to move forward with the
The Please share your thoughts, and review. |
|
Merged to main. |
(cherry picked from commit 6ff7a6e)
(cherry picked from commit ab0594b)
Operator to remove the lock at the end of the Maintenance flow.
https://docs.google.com/document/d/16g3vR18mVBy8jbFaLjf2JwAANuYOmIwr15yDDxovdnA/edit#heading=h.lt9eaimi6zyz