Alexander Lapin created IGNITE-15755:
----------------------------------------

             Summary: Unable to clear raft log on raft node stop in jraft
                 Key: IGNITE-15755
                 URL: https://issues.apache.org/jira/browse/IGNITE-15755
             Project: Ignite
          Issue Type: Improvement
            Reporter: Alexander Lapin


h3. Problem

In case of partition reassignment, meta storage reconfiguration or table drop 
it's required not only to cleanup data storage but also clear stable raft log. 
Currently there's no such method in api.
h3. Possible Solution

[~ascherbakov] suggested updating
{code:java}
org.apache.ignite.raft.jraft.RaftGroupService#shutdown{code}
with {color:#1d1c1d}boolean cleanupState{color} flag
{code:java}
org.apache.ignite.raft.jraft.RaftGroupService#shutdown(boolean 
cleanupState){code}



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

Reply via email to