[
https://issues.apache.org/jira/browse/RATIS-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-2287.
-------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
The pull request is now merged. Thanks, [~jianghuazhu]!
> Improve RaftServerImpl#toString() to make it more readable
> ----------------------------------------------------------
>
> Key: RATIS-2287
> URL: https://issues.apache.org/jira/browse/RATIS-2287
> Project: Ratis
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.1.1, 3.1.2
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Minor
> Fix For: 3.2.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When we print RaftServerImpl, here is some information output:
> {code:java}
> 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
> {code}
> We can improve toString() to make it more readable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)