jianghuazhu opened a new pull request, #1253:
URL: https://github.com/apache/ratis/pull/1253
## What changes were proposed in this pull request?
The purpose of this PR is to improve RaftServerImpl#toString() to make it
more readable.
Old:
`
LEADER s0@group-19104963FACE:t1, leader=s0, voted=s0,
raftlog=Memoized:s0@group-19104963FACE-SegmentedRaftLog:OPENED:c0:last(t:1,
i:0), conf=conf: {index: 0, cur=peers:[s0|localhost:15000]|listeners:[],
old=null} RUNNING
`
New:
`
LEADER-> serverState(s0@group-7219D3B559C9:t1, leader=s0, voted=s0,
raftlog=Memoized:s0@group-7219D3B559C9-SegmentedRaftLog:OPENED:c0:last(t:1,
i:0), conf=conf: {index: 0, cur=peers:[s0|localhost:15000]|listeners:[],
old=null})->RUNNING
`
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-2287
## How was this patch tested?
ci:
https://github.com/jianghuazhu/ratis/actions/runs/14853381971
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]