satishd commented on code in PR #14112: URL: https://github.com/apache/kafka/pull/14112#discussion_r1306434437
########## storage/api/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogMetadataManager.java: ########## @@ -210,4 +210,14 @@ void onPartitionLeadershipChanges(Set<TopicIdPartition> leaderPartitions, * @return Total size of the log stored in remote storage in bytes. */ long remoteLogSize(TopicIdPartition topicIdPartition, int leaderEpoch) throws RemoteStorageException; -} \ No newline at end of file + + /** + * Denotes whether the partition metadata is ready to serve. + * + * @param topicIdPartition topic partition + * @return True if the partition is initialized for remote storage operations. + */ + default boolean isInitialized(TopicIdPartition topicIdPartition) throws RemoteStorageException { Review Comment: This is a backward compatible change and RLMM plugin users do not need to implement it for now as it has the default implementation. We can raise a KIP post 3.6. We will add details about this change in 3.6.0 release notes. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org