* Added/Updated:
- Added metrics ip options for all servers;
- Fixed a bug with the selection of the binIp or ip parameter for the metrics handler;
* Fixed cmd flags
m.metricsHttpIp=cmdMaster.Flag.String("metricsIp","","metrics listen ip. If empty, default to same as -ip.bind option.")
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.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")
m.electionTimeout=cmdMaster.Flag.Duration("electionTimeout",10*time.Second,"election timeout of master servers")
s3StandaloneOptions.allowDeleteBucketNotEmpty=cmdS3.Flag.Bool("allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
s3StandaloneOptions.allowDeleteBucketNotEmpty=cmdS3.Flag.Bool("allowDeleteBucketNotEmpty",true,"allow recursive deleting all entries along with bucket")
volumeMinFreeSpacePercent=cmdServer.Flag.String("volume.minFreeSpacePercent","1","minimum free disk space (default to 1%). Low disk space will mark all volumes as ReadOnly (deprecated, use minFreeSpace instead).")
volumeMinFreeSpacePercent=cmdServer.Flag.String("volume.minFreeSpacePercent","1","minimum free disk space (default to 1%). Low disk space will mark all volumes as ReadOnly (deprecated, use minFreeSpace instead).")
volumeMinFreeSpace=cmdServer.Flag.String("volume.minFreeSpace","","min free disk space (value<=100 as percentage like 1, other as human readable bytes, like 10GiB). Low disk space will mark all volumes as ReadOnly.")
volumeMinFreeSpace=cmdServer.Flag.String("volume.minFreeSpace","","min free disk space (value<=100 as percentage like 1, other as human readable bytes, like 10GiB). Low disk space will mark all volumes as ReadOnly.")
v.metricsHttpIp=cmdVolume.Flag.String("metricsIp","","metrics listen ip. If empty, default to same as -ip.bind option.")
v.idxFolder=cmdVolume.Flag.String("dir.idx","","directory to store .idx files")
v.idxFolder=cmdVolume.Flag.String("dir.idx","","directory to store .idx files")
v.inflightUploadDataTimeout=cmdVolume.Flag.Duration("inflightUploadDataTimeout",60*time.Second,"inflight upload data wait timeout of volume servers")
v.inflightUploadDataTimeout=cmdVolume.Flag.Duration("inflightUploadDataTimeout",60*time.Second,"inflight upload data wait timeout of volume servers")
v.hasSlowRead=cmdVolume.Flag.Bool("hasSlowRead",true,"<experimental> if true, this prevents slow reads from blocking other requests, but large file read P99 latency will increase.")
v.hasSlowRead=cmdVolume.Flag.Bool("hasSlowRead",true,"<experimental> if true, this prevents slow reads from blocking other requests, but large file read P99 latency will increase.")