kowshik commented on a change in pull request #10478: URL: https://github.com/apache/kafka/pull/10478#discussion_r611438309
########## File path: core/src/main/scala/kafka/log/Log.scala ########## @@ -255,19 +261,21 @@ case object SnapshotGenerated extends LogStartOffsetIncrementReason { @threadsafe class Log(@volatile private var _dir: File, @volatile var config: LogConfig, + val segments: LogSegments, @volatile var logStartOffset: Long, @volatile var recoveryPoint: Long, + @volatile var nextOffsetMetadata: LogOffsetMetadata, scheduler: Scheduler, brokerTopicStats: BrokerTopicStats, val time: Time, val maxProducerIdExpirationMs: Int, val producerIdExpirationCheckIntervalMs: Int, val topicPartition: TopicPartition, + @volatile var leaderEpochCache: Option[LeaderEpochFileCache], val producerStateManager: ProducerStateManager, logDirFailureChannel: LogDirFailureChannel, - private val hadCleanShutdown: Boolean = true, @volatile var topicId: Option[Uuid], - val keepPartitionMetadataFile: Boolean) extends Logging with KafkaMetricsGroup { + val keepPartitionMetadataFile: Boolean = true) extends Logging with KafkaMetricsGroup { Review comment: Done. I've removed it. It's not needed, I believe it showed up accidentally. My bad. ########## File path: core/src/main/scala/kafka/log/Log.scala ########## @@ -2586,11 +1999,15 @@ object Log { logDirFailureChannel: LogDirFailureChannel, lastShutdownClean: Boolean = true, topicId: Option[Uuid], - keepPartitionMetadataFile: Boolean): Log = { + keepPartitionMetadataFile: Boolean = true): Log = { Review comment: Done. I've removed it. It's not needed, I believe it showed up accidentally. My bad. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org