[ 
https://issues.apache.org/jira/browse/RATIS-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825834#comment-17825834
 ] 

Dave Teng commented on RATIS-2040:
----------------------------------

The current ratis command "local raftMetaConf" looks good!
Based on the list of server provided in command:
{code:java}
$ ratis sh local raftMetaConf -peers 
<P0_HOST:P0_PORT,P1_HOST:P1_PORT,P2_HOST:P2_PORT> -path 
<PARENT_PATH_OF_RAFT_META_CONF> {code}

and it will create a new file "new-raft-meta.conf" in same directory of 
original raft-meta.conf. 
Thus whenever the user needs to remove/add any server, they could just provide 
the list of servers from the command.
I'll close the Jira now.

> Provide a ratis command to modify list of peers in raft-meta.conf
> -----------------------------------------------------------------
>
>                 Key: RATIS-2040
>                 URL: https://issues.apache.org/jira/browse/RATIS-2040
>             Project: Ratis
>          Issue Type: Task
>          Components: shell
>            Reporter: Dave Teng
>            Priority: Major
>
> To fix/remove old peer information in raft-meta.conf. Provide a ratis command 
> to modify list of peers in raft-meta.conf.



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

Reply via email to