Ethan Rose created HDDS-8380:
--------------------------------

             Summary: Add CLI to dump Ratis state from each node
                 Key: HDDS-8380
                 URL: https://issues.apache.org/jira/browse/HDDS-8380
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Ethan Rose


Idea proposed by [~swagle]: Right now debugging quorum issues and lagging 
followers requires filtering logs on all 3 members. It would be easier if there 
was a command that could be sent from the CLI to get information from all 
members. This could include:
* commit index
* apply index
* snapshot index
* current term
* group membership (as defined in raft-meta.conf)
* Known leader
* Known follower's commit indices if leader

This could be implemented from the [ratis 
shell|https://github.com/apache/ratis/blob/master/ratis-docs/src/site/markdown/cli.md],
 but it may be easier for users if it is packaged within the ozone CLI under 
{{ozone debug}}. One challenge may be getting results from all nodes, since 
right now ozone client only communicates with the leader of the quorum.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to