You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2024/03/15 01:23:00 UTC
[jira] [Resolved] (RATIS-2043) Better print RaftConfigurationImpl's information
[ https://issues.apache.org/jira/browse/RATIS-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-2043.
-------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
The pull request is now merged. Thanks, [~Symious]!
> 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
> Fix For: 3.1.0
>
> 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)