OmniaGM commented on code in PR #15263:
URL: https://github.com/apache/kafka/pull/15263#discussion_r1469993396
##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -183,7 +183,7 @@ object HostedPartition {
/**
* This broker hosts the partition, but it is in an offline log directory.
*/
- final case class Offline(topicId: Option[Uuid]) extends HostedPartition
+ final case class Offline(partition: Option[Partition]) extends
HostedPartition
Review Comment:
if you are using `Partition` then maybe remove the Option as
`Partition.topicId` already return option
--
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]