Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
our docs[0] says that "currentReplicaLogDir will be null if the replica is not found", so it means `describeReplicaLogDirs` can accept the queries for nonexistent replicas. However, current UT [1] only verify the replica is not found due to storage error. We should add a UT to verify it for nonexistent replica
[0] https://github.com/apache/kafka/blob/391778b8d737f4af074422ffe61bc494b21e6555/clients/src/main/java/org/apache/kafka/clients/admin/DescribeReplicaLogDirsResult.java#L71
[1] https://github.com/apache/kafka/blob/trunk/clients/src/test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java#L2356
Attachments
Issue Links
- links to