zoltar9264 commented on code in PR #22669: URL: https://github.com/apache/flink/pull/22669#discussion_r1235146158
########## flink-runtime/src/main/java/org/apache/flink/runtime/state/IncrementalKeyedStateHandle.java: ########## @@ -32,9 +36,62 @@ UUID getBackendIdentifier(); /** - * Returns a set of ids of all registered shared states in the backend at the time this was - * created. + * Returns a list of all shared states and the corresponding localPath in the backend at the + * time this was created. */ @Nonnull - Map<StateHandleID, StreamStateHandle> getSharedStateHandles(); + List<HandleAndLocalPath> getSharedStateHandles(); + + /** A Holder of StreamStateHandle and the corresponding localPath. */ + final class HandleAndLocalPath implements Serializable { + + private static final long serialVersionUID = 7711754687567545052L; + + StreamStateHandle handle; + String localPath; Review Comment: You are right, I've changed it. -- 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