masteryhx commented on code in PR #14611: URL: https://github.com/apache/flink/pull/14611#discussion_r1323873654
########## flink-runtime/src/main/java/org/apache/flink/runtime/state/KeyedStateBackend.java: ########## @@ -30,6 +30,11 @@ /** * A keyed state backend provides methods for managing keyed state. * + * <h2>Not Thread-Safe</h2> + * + * State access in keyed state backend dose not require thread safety as each task is executed by + * one thread. Current implementations (Heap/RocksDB keyed state backend) are not thread-safe. + * Review Comment: Sure, I aggree. Could you update your pr as we disscussed? -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org