Support failover in cluster (experimental)

This commit is contained in:
finley
2025-04-19 22:11:58 +08:00
parent 14ec8277ca
commit f4a2c92fc1
20 changed files with 739 additions and 136 deletions

View File

@@ -30,6 +30,7 @@ func MakeCluster() *Cluster {
},
StartAsSeed: config.Properties.ClusterAsSeed,
JoinAddress: config.Properties.ClusterSeed,
Master: config.Properties.MasterInCluster,
})
if err != nil {
logger.Error(err.Error())