diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-11-27 03:17:10 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-11-27 03:17:10 -0800 |
| commit | 6d30b21b10260c8c0f2c9f665a3d907494566092 (patch) | |
| tree | b2509c87ee0cb5eb373d8c3fabc4fd1ac53c7af5 /weed/command/server.go | |
| parent | 3c229eb677a9aedd4e59f511f10aa4ba552f821b (diff) | |
| download | seaweedfs-6d30b21b10260c8c0f2c9f665a3d907494566092.tar.xz seaweedfs-6d30b21b10260c8c0f2c9f665a3d907494566092.zip | |
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index edf626fe7..0c6731eb2 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -105,7 +105,7 @@ func init() { serverOptions.v.publicUrl = cmdServer.Flag.String("volume.publicUrl", "", "publicly accessible address") serverOptions.v.preStopSeconds = cmdServer.Flag.Int("volume.preStopSeconds", 10, "number of seconds between stop send heartbeats and stop volume server") serverOptions.v.pprof = cmdServer.Flag.Bool("volume.pprof", false, "enable pprof http handlers. precludes --memprofile and --cpuprofile") - serverOptions.v.idxFolder = cmdServer.Flag.String("volume.dir.idx", "", "WIP directory to store .idx files") + serverOptions.v.idxFolder = cmdServer.Flag.String("volume.dir.idx", "", "directory to store .idx files") s3Options.port = cmdServer.Flag.Int("s3.port", 8333, "s3 server http listen port") s3Options.domainName = cmdServer.Flag.String("s3.domainName", "", "suffix of the host name in comma separated list, {bucket}.{domainName}") |
