OmniaGM commented on code in PR #14790: URL: https://github.com/apache/kafka/pull/14790#discussion_r1400640555
########## core/src/main/scala/kafka/server/ReplicaAlterLogDirsThread.scala: ########## @@ -40,6 +44,8 @@ class ReplicaAlterLogDirsThread(name: String, isInterruptible = false, brokerTopicStats) { + private val assignmentRequestStates: ConcurrentHashMap[TopicPartition, DirectoryEventRequestState] = new ConcurrentHashMap() Review Comment: I updated `removePartitions` which get invoked from `ReplicaManager.alterReplicaLogDirs` during cancellation to fire the revert of the assignment request if we have on queued. -- 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