ijuma commented on code in PR #18321: URL: https://github.com/apache/kafka/pull/18321#discussion_r1904846966
########## core/src/main/scala/kafka/log/UnifiedLog.scala: ########## @@ -757,7 +769,8 @@ class UnifiedLog(@volatile var logStartOffset: Long, leaderEpoch: Int, requestLocal: Option[RequestLocal], verificationGuard: VerificationGuard, - ignoreRecordSize: Boolean): LogAppendInfo = { + ignoreRecordSize: Boolean, + toMagic: Byte = RecordBatch.CURRENT_MAGIC_VALUE): LogAppendInfo = { Review Comment: Is it worth it? I had started down that path, but I was worried that it might be too brittle. If you think it's worth it, I can file a JIRA and we can do it in trunk (I don't think it's required for 4.0). -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org