aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-06 09:24:54 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-06 09:24:54 -0700
commitd198e8c6d65d5b135a481f36004769b152583c7d (patch)
tree7f69c276989c3f2b55f453975f3e3109fef91e88 /weed/command/server.go
parent0b8cc9b626708f3559b143826836b65ee3bf5472 (diff)
downloadseaweedfs-d198e8c6d65d5b135a481f36004769b152583c7d.tar.xz
seaweedfs-d198e8c6d65d5b135a481f36004769b152583c7d.zip
filer: support cross filer meta data sync if sharing the same store
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 53e08845c..443f041c5 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -88,6 +88,7 @@ func init() {
filerOptions.maxMB = cmdServer.Flag.Int("filer.maxMB", 32, "split files larger than the limit")
filerOptions.dirListingLimit = cmdServer.Flag.Int("filer.dirListLimit", 1000, "limit sub dir listing size")
filerOptions.cipher = cmdServer.Flag.Bool("filer.encryptVolumeData", false, "encrypt data on volume servers")
+ filerOptions.peers = cmdServer.Flag.String("filer.peers", "", "all filers sharing the same filer store in comma separated ip:port list")
serverOptions.v.port = cmdServer.Flag.Int("volume.port", 8080, "volume server http listen port")
serverOptions.v.publicPort = cmdServer.Flag.Int("volume.port.public", 0, "volume server public port")