Zakelly commented on code in PR #27069:
URL: https://github.com/apache/flink/pull/27069#discussion_r2396494566
##########
flink-runtime/src/main/java/org/apache/flink/runtime/state/KeyedStateBackend.java:
##########
@@ -166,6 +167,13 @@ default boolean isSafeToReuseKVState() {
return false;
}
+ /**
+ * @return fixed lower-case string identifying the type of the underlying
state backend, e.g.
+ * rocksdb, hashmap, forst, batch, or unknown.
+ */
+ @Experimental
+ String getBackendTypeIdentifier();
Review Comment:
Shall we give default implementation returning 'unknown'?
##########
flink-runtime/src/main/java/org/apache/flink/runtime/state/KeyedStateBackend.java:
##########
@@ -166,6 +167,13 @@ default boolean isSafeToReuseKVState() {
return false;
}
+ /**
+ * @return fixed lower-case string identifying the type of the underlying
state backend, e.g.
+ * rocksdb, hashmap, forst, batch, or unknown.
+ */
+ @Experimental
+ String getBackendTypeIdentifier();
Review Comment:
Shall we give a default implementation returning 'unknown'?
--
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]