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

Cyrus Jackson commented on RATIS-924:
-------------------------------------

[~shashikant]  [~yjxxtd] I have added a patch for the same. Please review it 
and give your thoughts on it. 

In this patch, when a groupRemove is called from the client and deleteDirectory 
is set to false, the group gets renamed. Also, I have included a properties 
file which holds the original group name in the renamed group directory, this 
can be helpful in case the client wants to restore the group.

When deleteDirectory is set to true, the group is permanently deleted.

> rename raft group dir on disk when remove group is invoked
> ----------------------------------------------------------
>
>                 Key: RATIS-924
>                 URL: https://issues.apache.org/jira/browse/RATIS-924
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: runzhiwang
>            Assignee: runzhiwang
>            Priority: Major
>         Attachments: RATIS-924.001.patch, screenshot-1.png
>
>
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to