[
https://issues.apache.org/jira/browse/RATIS-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015000#comment-17015000
]
Mukul Kumar Singh commented on RATIS-755:
-----------------------------------------
The log dump with this utility is like
{code}
20178:ratis2 mukul$ java -jar
ratis-tools/target/ratis-tools-0.5.0-SNAPSHOT-shaded.jar
/tmp/arithmetic/64656d6f-5261-6674-4772-6f7570313233/current/log_inprogress_0
file path is
/tmp/arithmetic/64656d6f-5261-6674-4772-6f7570313233/current/log_inprogress_0
(t:1, i:0), CONFIGURATIONENTRY
(t:1, i:1), STATEMACHINELOGENTRY, client-6143FC438F2B, cid=0
State Machine: a = 3
(t:1, i:2), METADATAENTRY(c1)
(t:1, i:3), STATEMACHINELOGENTRY, client-FBF7EA69AB2A, cid=0
State Machine: b = 4
(t:1, i:4), METADATAENTRY(c3)
{code}
> Add a log dump command line utility inside ratis
> ------------------------------------------------
>
> Key: RATIS-755
> URL: https://issues.apache.org/jira/browse/RATIS-755
> Project: Ratis
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Priority: Major
> Labels: ozone
> Fix For: 0.5.0
>
> Attachments: RATIS-755.001.patch
>
>
> This tool proposes to add a utility to dump the following information to the
> a) log index
> b) log term
> c) log entry type
> d) state machine data if present
--
This message was sent by Atlassian Jira
(v8.3.4#803005)