[ 
https://issues.apache.org/jira/browse/KAFKA-16834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jianbin Chen updated KAFKA-16834:
---------------------------------
    Description: 
Transform it into the following output, which is easier for users to understand 
and identify the cause of the problem.
{code:java}
options.handleLoss("the directory " + (directory == DirectoryId.UNASSIGNED ? 
"unassigned" : "lost")
    + " state of one or more replicas");{code}

  was:
Transform it into the following output, which is easier for users to understand 
and identify the cause of the problem.
{code:java}
options.handleLoss("the directory " + directory + " state of one or more 
replicas");{code}


> add the reason for the failure of PartitionRegistration#toRecord
> ----------------------------------------------------------------
>
>                 Key: KAFKA-16834
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16834
>             Project: Kafka
>          Issue Type: Wish
>    Affects Versions: 3.7.0
>            Reporter: Jianbin Chen
>            Priority: Minor
>
> Transform it into the following output, which is easier for users to 
> understand and identify the cause of the problem.
> {code:java}
> options.handleLoss("the directory " + (directory == DirectoryId.UNASSIGNED ? 
> "unassigned" : "lost")
>     + " state of one or more replicas");{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to