hachikuji commented on a change in pull request #11140:
URL: https://github.com/apache/kafka/pull/11140#discussion_r678715228
##########
File path: core/src/main/scala/kafka/server/AbstractFetcherThread.scala
##########
@@ -265,6 +265,7 @@ abstract class AbstractFetcherThread(name: String,
Errors.forCode(leaderEpochOffset.errorCode) match {
case Errors.NONE =>
val offsetTruncationState = getOffsetTruncationState(tp,
leaderEpochOffset)
+ info(s"Truncating partition $tp to leader epoch and offset
$leaderEpochOffset")
Review comment:
Would it be useful to include the offset from `offsetTruncationState` in
this message since it is not necessarily the same as `leaderEpochOffset`?
--
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]