raft cluster core

This commit is contained in:
finley
2024-09-16 16:53:10 +08:00
parent 75030407cb
commit b699918223
18 changed files with 1792 additions and 35 deletions

View File

@@ -164,7 +164,7 @@ func GenGodisInfoString(section string, db *Server) []byte {
// getGodisRunningMode return godis running mode
func getGodisRunningMode() string {
if config.Properties.ClusterEnabled == "yes" {
if config.Properties.ClusterEnable {
return config.ClusterMode
} else {
return config.StandaloneMode