Zakelly commented on code in PR #25854:
URL: https://github.com/apache/flink/pull/25854#discussion_r1897584121
##########
flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStStateExecutor.java:
##########
@@ -73,6 +74,11 @@ public class ForStStateExecutor implements StateExecutor {
/** The ongoing sub-processes count. */
private final AtomicLong ongoing;
+ /**
+ * Whether the executor has been closed, if closed, the new state requests
would be rejected.
+ */
+ private boolean closed;
Review Comment:
I thought this is not necessary since the `executor.shutdown()` will reject
the future tasks.
--
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]