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

Tsz-wo Sze reassigned RATIS-2043:
---------------------------------

    Component/s: server
       Assignee: Janus Chow

> Better print RaftConfigurationImpl's information
> ------------------------------------------------
>
>                 Key: RATIS-2043
>                 URL: https://issues.apache.org/jira/browse/RATIS-2043
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>            Reporter: Janus Chow
>            Assignee: Janus Chow
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When testing the tranferLeadership feature, I get the following exeption:
> {code:java}
> org.apache.ratis.protocol.exceptions.TransferLeadershipException: 
> s0@group-5B01F2A9DF29 refused to transfer leadership to peer s1 as it does 
> not has highest priority 5: 
> peers:[s0|rpc:localhost:62939|admin:localhost:62940|client:localhost:62941|dataStream:localhost:62942|priority:2|startupRole:FOLLOWER,
>  
> s1|rpc:localhost:62943|admin:localhost:62944|client:localhost:62945|dataStream:localhost:62946|priority:0|startupRole:FOLLOWER,
>  
> s2|rpc:localhost:62947|admin:localhost:62948|client:localhost:62949|dataStream:localhost:62950|priority:0|startupRole:FOLLOWER]|listeners:[],
>  old=null
> {code}
> The expression of "it does not has highest priority 5" doesn't seem good.
> This ticket is to change the output a bit.



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

Reply via email to