diff options
| author | chrislu <chris.lu@gmail.com> | 2022-05-01 21:59:16 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-05-01 21:59:16 -0700 |
| commit | 94635e9b5c81d6afa1b54f20f5d2d2595bba2322 (patch) | |
| tree | 9e6eb799c480603598b020e4f6cdddaa21f555af /weed/command/server.go | |
| parent | 4bd6bea4295cd238278b20f18a15664fa3465008 (diff) | |
| download | seaweedfs-94635e9b5c81d6afa1b54f20f5d2d2595bba2322.tar.xz seaweedfs-94635e9b5c81d6afa1b54f20f5d2d2595bba2322.zip | |
filer: add filer group
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index e3aec67d1..d26376c1a 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -101,6 +101,7 @@ func init() { masterOptions.heartbeatInterval = cmdServer.Flag.Duration("master.heartbeatInterval", 300*time.Millisecond, "heartbeat interval of master servers, and will be randomly multiplied by [1, 1.25)") masterOptions.electionTimeout = cmdServer.Flag.Duration("master.electionTimeout", 10*time.Second, "election timeout of master servers") + filerOptions.filerGroup = cmdServer.Flag.String("filer.filerGroup", "", "share metadata with other filers in the same filerGroup") 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") filerOptions.portGrpc = cmdServer.Flag.Int("filer.port.grpc", 0, "filer server grpc listen port") |
