diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-30 09:15:55 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-30 09:15:55 -0700 |
| commit | 55cb68c09ca9a36a18e1ec24dbc72935e7669b55 (patch) | |
| tree | ea955e8a5b50d8e9ced20a3512a38dfee0e81e6d /weed/command/filer.go | |
| parent | 436ab7d81138ffae9999e1907614baee0cee25a9 (diff) | |
| download | seaweedfs-55cb68c09ca9a36a18e1ec24dbc72935e7669b55.tar.xz seaweedfs-55cb68c09ca9a36a18e1ec24dbc72935e7669b55.zip | |
filer: replication follows master config if not specified
Diffstat (limited to 'weed/command/filer.go')
| -rw-r--r-- | weed/command/filer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go index c7f2bd981..d5a1616ed 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -54,7 +54,7 @@ func init() { f.bindIp = cmdFiler.Flag.String("ip.bind", "0.0.0.0", "ip address to bind to") f.port = cmdFiler.Flag.Int("port", 8888, "filer server http listen port") f.publicPort = cmdFiler.Flag.Int("port.readonly", 0, "readonly port opened to public") - f.defaultReplicaPlacement = cmdFiler.Flag.String("defaultReplicaPlacement", "000", "default replication type if not specified") + f.defaultReplicaPlacement = cmdFiler.Flag.String("defaultReplicaPlacement", "", "default replication type if not specified") f.disableDirListing = cmdFiler.Flag.Bool("disableDirListing", false, "turn off directory listing") f.maxMB = cmdFiler.Flag.Int("maxMB", 32, "split files larger than the limit") f.dirListingLimit = cmdFiler.Flag.Int("dirListLimit", 100000, "limit sub dir listing size") |
