diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-14 02:54:13 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-14 02:54:13 -0700 |
| commit | 7937db52e1a6b8be0e04da0b2ed9d62284fa2698 (patch) | |
| tree | 36d64b2d8ae05bb9955ae0570fdcb7af3eca8b44 /weed/command/master.go | |
| parent | 0c66b173a4b50dd4589fa16a521d52060cbe5c16 (diff) | |
| download | seaweedfs-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/master.go')
| -rw-r--r-- | weed/command/master.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index bed55e334..4eb43ee09 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -54,7 +54,7 @@ func init() { m.volumeSizeLimitMB = cmdMaster.Flag.Uint("volumeSizeLimitMB", 30*1000, "Master stops directing writes to oversized volumes.") m.volumePreallocate = cmdMaster.Flag.Bool("volumePreallocate", false, "Preallocate disk space for volumes.") // m.pulseSeconds = cmdMaster.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats") - m.defaultReplication = cmdMaster.Flag.String("defaultReplication", "000", "Default replication type if not specified.") + m.defaultReplication = cmdMaster.Flag.String("defaultReplication", "", "Default replication type if not specified.") m.garbageThreshold = cmdMaster.Flag.Float64("garbageThreshold", 0.3, "threshold to vacuum and reclaim spaces") m.whiteList = cmdMaster.Flag.String("whiteList", "", "comma separated Ip addresses having write permission. No limit if empty.") m.disableHttp = cmdMaster.Flag.Bool("disableHttp", false, "disable http requests, only gRPC operations are allowed.") |
