kevin-wu24 commented on code in PR #20707:
URL: https://github.com/apache/kafka/pull/20707#discussion_r2589940261
##########
core/src/main/scala/kafka/tools/DumpLogSegments.scala:
##########
@@ -271,7 +271,7 @@ object DumpLogSegments {
val startOffset = file.getName.split("\\.")(0).toLong
println(s"Log starting offset: $startOffset")
} else if (file.getName.endsWith(Snapshots.SUFFIX)) {
- if (file.getName == BootstrapDirectory.BINARY_BOOTSTRAP_FILENAME) {
+ if (file.getName == LegacyBootstrapDirectory.BINARY_BOOTSTRAP_FILENAME) {
println("KRaft bootstrap snapshot")
Review Comment:
nit but let's change this to say `KRaft legacy bootstrap snapshot`.
--
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]