aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorustuzhanin <55892859+ustuzhanin@users.noreply.github.com>2020-10-04 19:46:45 +0500
committerGitHub <noreply@github.com>2020-10-04 19:46:45 +0500
commitb3dd0ba446649d3a3fe56dba547585bf18b039b7 (patch)
treefc22104e5b6b0ddd3c41ab02a72b2428130c2363 /weed/command/server.go
parent3e0a79ef050dba9e5347d20537ef562cc4b30b62 (diff)
parent8c8b8e2835801992ecd75349281637ed8ecb88cd (diff)
downloadseaweedfs-b3dd0ba446649d3a3fe56dba547585bf18b039b7.tar.xz
seaweedfs-b3dd0ba446649d3a3fe56dba547585bf18b039b7.zip
Merge pull request #2 from chrislusf/master
update from upstream
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 7efc45475..80fb14600 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -81,6 +81,7 @@ func init() {
masterOptions.garbageThreshold = cmdServer.Flag.Float64("garbageThreshold", 0.3, "threshold to vacuum and reclaim spaces")
masterOptions.metricsAddress = cmdServer.Flag.String("metrics.address", "", "Prometheus gateway address")
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")
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")