clolov commented on code in PR #14049:
URL: https://github.com/apache/kafka/pull/14049#discussion_r1274701153
##########
storage/src/main/java/org/apache/kafka/server/log/remote/metadata/storage/TopicBasedRemoteLogMetadataManager.java:
##########
@@ -327,6 +327,17 @@ public void onStopPartitions(Set<TopicIdPartition>
partitions) {
}
}
+ @Override
+ public Long remoteLogSize(TopicIdPartition topicPartition, int
leaderEpoch) throws RemoteStorageException {
+ long remoteLogSize = 0L;
+ Iterator<RemoteLogSegmentMetadata> remoteLogSegmentMetadataIterator =
remotePartitionMetadataStore.listRemoteLogSegments(topicPartition, leaderEpoch);
Review Comment:
Hopefully the comment in the newest commit covers all of these. If not let
me know and I will amend 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]