...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
/** * Returns total size of the log for the given leader epoch in remote storage. * * @param topicPartition topic partition for which size needs to be calculated. * @param leaderEpoch Size will only include segments belonging to this epoch. * @return Total size of the log stored in remote storage in bytes. */ Longlong remoteLogSize(TopicPartition topicPartition, int leaderEpoch); |
...