aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-14 02:54:13 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-14 02:54:13 -0700
commit7937db52e1a6b8be0e04da0b2ed9d62284fa2698 (patch)
tree36d64b2d8ae05bb9955ae0570fdcb7af3eca8b44 /weed/command/server.go
parent0c66b173a4b50dd4589fa16a521d52060cbe5c16 (diff)
downloadseaweedfs-7937db52e1a6b8be0e04da0b2ed9d62284fa2698.tar.xz
seaweedfs-7937db52e1a6b8be0e04da0b2ed9d62284fa2698.zip
Filer locationPrefix configure does not exec replication #2257
fix https://github.com/chrislusf/seaweedfs/issues/2257
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index fe10b24f7..c784d90b9 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -89,7 +89,7 @@ func init() {
masterOptions.peers = cmdServer.Flag.String("master.peers", "", "all master nodes in comma separated ip:masterPort list")
masterOptions.volumeSizeLimitMB = cmdServer.Flag.Uint("master.volumeSizeLimitMB", 30*1000, "Master stops directing writes to oversized volumes.")
masterOptions.volumePreallocate = cmdServer.Flag.Bool("master.volumePreallocate", false, "Preallocate disk space for volumes.")
- masterOptions.defaultReplication = cmdServer.Flag.String("master.defaultReplication", "000", "Default replication type if not specified.")
+ masterOptions.defaultReplication = cmdServer.Flag.String("master.defaultReplication", "", "Default replication type if not specified.")
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")