kamalcph commented on code in PR #20201:
URL: https://github.com/apache/kafka/pull/20201#discussion_r2218222799


##########
core/src/main/java/kafka/server/TierStateMachine.java:
##########
@@ -230,6 +230,10 @@ private Long buildRemoteLogAuxState(TopicPartition 
topicPartition,
             }
         }
 
+        if (!rlm.isPartitionReady(topicPartition)) {
+            throw new RemoteStorageException(new 
IllegalStateException("RemoteLogManager is not ready for partition: " + 
topicPartition));

Review Comment:
   Introduced RetriableRemoteStorageException to gracefully handle the error. 
Thanks for the review!



-- 
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

Reply via email to