ijuma commented on code in PR #18321:
URL: https://github.com/apache/kafka/pull/18321#discussion_r1898947254
##########
core/src/test/scala/unit/kafka/log/UnifiedLogTest.scala:
##########
@@ -2580,6 +2580,23 @@ class UnifiedLogTest {
assertEquals(None, log.leaderEpochCache.flatMap(_.latestEpoch.toScala))
}
+ @Test
+ def testLeaderEpochCacheCreatedAfterMessageFormatUpgrade(): Unit = {
Review Comment:
This test was originally removed via #18267 - added it back and modified it
to take into account that the leader epoch cache always exists now (since the
configured record version is always V2).
--
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]