m.raftResumeState=cmdMaster.Flag.Bool("resumeState",false,"resume previous state on start master server")
m.raftResumeState=cmdMaster.Flag.Bool("resumeState",false,"resume previous state on start master server")
m.heartbeatInterval=cmdMaster.Flag.Duration("heartbeatInterval",300*time.Millisecond,"heartbeat interval of master servers, and will be randomly multiplied by [1, 1.25)")
m.electionTimeout=cmdMaster.Flag.Duration("electionTimeout",10*time.Second,"election timeout of master servers")
masterOptions.metricsIntervalSec=cmdServer.Flag.Int("metrics.intervalSeconds",15,"Prometheus push interval in seconds")
masterOptions.metricsIntervalSec=cmdServer.Flag.Int("metrics.intervalSeconds",15,"Prometheus push interval in seconds")
masterOptions.raftResumeState=cmdServer.Flag.Bool("resumeState",false,"resume previous state on start master server")
masterOptions.raftResumeState=cmdServer.Flag.Bool("resumeState",false,"resume previous state on start master server")
masterOptions.heartbeatInterval=cmdServer.Flag.Duration("master.heartbeatInterval",300*time.Millisecond,"heartbeat interval of master servers, and will be randomly multiplied by [1, 1.25)")
masterOptions.electionTimeout=cmdServer.Flag.Duration("master.electionTimeout",10*time.Second,"election timeout of master servers")
filerOptions.collection=cmdServer.Flag.String("filer.collection","","all data will be stored in this collection")
filerOptions.collection=cmdServer.Flag.String("filer.collection","","all data will be stored in this collection")
filerOptions.port=cmdServer.Flag.Int("filer.port",8888,"filer server http listen port")
filerOptions.port=cmdServer.Flag.Int("filer.port",8888,"filer server http listen port")