Skip to content

Commit

Permalink
Remove unnecessary change.
Browse files Browse the repository at this point in the history
  • Loading branch information
hshi2022 committed Mar 13, 2024
1 parent cc2a1f9 commit 4286311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/scala/kafka/log/Log.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2052,6 +2052,7 @@ class Log(@volatile private var _dir: File,
)
}
// FIXME: this code path involves not only data plane segments but also KRaft metadata logs. Should find a way to distinguish after moving to KRaft.

// XXX: An internal dashboard depends on parsing this warn log line. Get SRE reviews before changing the format.
warn(s"Attempted truncating to offset $targetOffset. Resulted in truncated to $offsetTruncatedTo from the original log end offset $originalLogEndOffset, " +
s"with $messagesTruncated messages and $bytesTruncated bytes truncated")
Expand Down

0 comments on commit 4286311

Please sign in to comment.