Xinyu Tan created RATIS-2036:
--------------------------------

             Summary: Avoid trigger snapshot when removing raftGroup
                 Key: RATIS-2036
                 URL: https://issues.apache.org/jira/browse/RATIS-2036
             Project: Ratis
          Issue Type: Improvement
          Components: server
            Reporter: Xinyu Tan


Currently, Ratis by default triggers a Snapshot of the state machine upon 
stopping the service, which essentially increases the shutdown time but speeds 
up the startup time. I've already raised a PR on this trade-off at 
https://issues.apache.org/jira/browse/RATIS-1862 to allow configuration.

However, regardless of this configuration, for IoTDB's Delete Region, we hope 
it can be deleted as soon as possible without triggering a snapshot, otherwise, 
there might be some timeout issues. For Ratis, we wonder if it's necessary to 
differentiate between a normal stop and removeGroup, thereby allowing 
removeGroup to not trigger a snapshot, which may require an additional 
parameter.

What's your opinion? [~szetszwo] 



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

Reply via email to