kowshik commented on a change in pull request #11154: URL: https://github.com/apache/kafka/pull/11154#discussion_r684599225
########## File path: core/src/main/scala/kafka/log/UnifiedLog.scala ########## @@ -1738,12 +1747,12 @@ object Log extends Logging { logDirFailureChannel: LogDirFailureChannel, lastShutdownClean: Boolean = true, topicId: Option[Uuid], - keepPartitionMetadataFile: Boolean): Log = { + keepPartitionMetadataFile: Boolean): UnifiedLog = { // create the log directory if it doesn't exist Files.createDirectories(dir.toPath) - val topicPartition = Log.parseTopicPartitionName(dir) + val topicPartition = UnifiedLog.parseTopicPartitionName(dir) val segments = new LogSegments(topicPartition) - val leaderEpochCache = Log.maybeCreateLeaderEpochCache( + val leaderEpochCache = UnifiedLog.maybeCreateLeaderEpochCache( Review comment: Done. Thanks for catching this! -- 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