Description
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
Attachments
Issue Links
- is related to
-
RATIS-2052 Add docs for triggering snapshot when removing raftGroup parameter
- Resolved
- links to