XComp commented on PR #22121: URL: https://github.com/apache/flink/pull/22121#issuecomment-1482780981
> My concern is that these functions being called multiple times could throw unnecessary exceptions: That's actually a good point - now I remember the history of this issue: The actual goal is to harden the contract of `StateObject#discardState` instead of introducing some workaround in the calling objects. That's why I started collecting the subtasks under FLINK-26606. FLINK-27051 is actually blocked by the other subtasks, I guess. WDYT? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
