[ 
https://issues.apache.org/jira/browse/RATIS-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze resolved RATIS-2036.
-------------------------------
    Fix Version/s: 3.1.0
         Assignee: Xinyu Tan
       Resolution: Fixed

The pull request is now merged.  Thanks, [~tanxinyu]!

> 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
>            Assignee: Xinyu Tan
>            Priority: Minor
>             Fix For: 3.1.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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