You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/07/28 23:20:58 UTC
[GitHub] [kafka] hachikuji commented on a change in pull request #11140: MINOR: log epoch and offset truncation similarly to HWM truncation
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org