fredia commented on code in PR #20217:
URL: https://github.com/apache/flink/pull/20217#discussion_r939797960
##########
flink-runtime/src/main/java/org/apache/flink/runtime/state/TaskExecutorLocalStateStoresManager.java:
##########
@@ -101,6 +103,7 @@ public TaskExecutorLocalStateStoresManager(
this.discardExecutor = discardExecutor;
this.lock = new Object();
this.closed = false;
+ this.localStateRegistry = new LocalStateRegistry(discardExecutor);
Review Comment:
The lifecycle of `LocalStateRegistry` can only be per TM, because
`LocalStateRegistry` is running on TM, it can't access other tasks on other
TMs.
--
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]