TisonKun commented on a change in pull request #9512:
[FLINK-13819][coordination] Introduce State for RpcEndpoint
URL: https://github.com/apache/flink/pull/9512#discussion_r316736180
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/rpc/RpcEndpoint.java
##########
@@ -79,6 +79,9 @@
* of the executing rpc server. */
private final MainThreadExecutor mainThreadExecutor;
+ /** Rpc endpoint's state. */
+ private State state;
Review comment:
Thanks for the clarification. I see the document below. We can also document
it here or use a somewhat `@GuardBy` annotation. Although I'm not sure how to
express guarded by MainThread with `@GuardBy`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services