[
https://issues.apache.org/jira/browse/RATIS-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17020453#comment-17020453
]
Mukul Kumar Singh commented on RATIS-755:
-----------------------------------------
Thanks for the review [~ljain],if the StateMachineFunction is not provided
then, there wont be any SM string part.
basically in the above output there wont be any "State Machine: " lines.
{code}
+ String smString = "";
+ if (function != null) {
+ smString = "\n\t State Machine: " + function.apply(smLog);
+ }
+ return callIdString + smString;
{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)