Repository: JDRaftKeeper/RaftKeeper (language: cpp)

Issue:
Enable manually creating snapshot by default
### Description
<!-- Describe the enhancement you want, including the motivation. -->
Enable manually creating snapshot by default
### Are you willing to submit PR?



Discussion / hints:

Fix patch:
diff --git a/programs/server/config.xml b/programs/server/config.xml
index 473cd4a24b..4c7b01c5c5 100644
--- a/programs/server/config.xml
+++ b/programs/server/config.xml
@@ -53,7 +53,7 @@
         <!-- Processor thread count, default is CPU core size. For container is cgroup limit size. -->
         <!-- <thread_count></thread_count> -->
 
-        <!-- 4lwd command white list, default "conf,cons,crst,envi,ruok,srst,srvr,stat,wchs,dirs,mntr,isro,lgif,rqld,uptm" -->
+        <!-- 4lwd command white list, default "conf,cons,crst,envi,ruok,srst,srvr,stat,wchs,dirs,mntr,isro,lgif,rqld,uptm,csnp" -->
         <!-- <four_letter_word_white_list></four_letter_word_white_list> -->
 
         <!-- Super digest for root user, default is empty string.
diff --git a/src/Service/Settings.cpp b/src/Service/Settings.cpp
index 1f22876bb2..aefbdf4379 100644
--- a/src/Service/Settings.cpp
+++ b/src/Service/Settings.cpp
@@ -127,7 +127,7 @@ RaftSettingsPtr RaftSettings::getDefault()
     return settings;
 }
 
-const String Settings::DEFAULT_FOUR_LETTER_WORD_CMD = "conf,cons,crst,envi,ruok,srst,srvr,stat,wchs,dirs,mntr,isro,lgif,rqld,uptm";
+const String Settings::DEFAULT_FOUR_LETTER_WORD_CMD = "conf,cons,crst,envi,ruok,srst,srvr,stat,wchs,dirs,mntr,isro,lgif,rqld,uptm,csnp";
 
 Settings::Settings() : my_id(NOT_EXIST), port(NOT_EXIST), standalone_keeper(false), raft_settings(RaftSettings::getDefault())
 {


Test patch: