aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorzhangsong <songz.qqmail@qq.com>2021-06-30 18:33:18 +0800
committerzhangsong <songz.qqmail@qq.com>2021-06-30 18:33:18 +0800
commit20d33ae0252d73a1baa11758cea737227e73db56 (patch)
tree27e7de62719f13b8e943ae2280d24c2be2f83f8a /weed/command
parent7566782c2e172408bbbfd32bb5c3b505bfd8d5e1 (diff)
downloadseaweedfs-20d33ae0252d73a1baa11758cea737227e73db56.tar.xz
seaweedfs-20d33ae0252d73a1baa11758cea737227e73db56.zip
add proxy mode to read non-local volumes
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index e974a9082..fe75e9e91 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -80,7 +80,7 @@ func init() {
v.indexType = cmdVolume.Flag.String("index", "memory", "Choose [memory|leveldb|leveldbMedium|leveldbLarge] mode for memory~performance balance.")
v.diskType = cmdVolume.Flag.String("disk", "", "[hdd|ssd|<tag>] hard drive or solid state drive or any tag")
v.fixJpgOrientation = cmdVolume.Flag.Bool("images.fix.orientation", false, "Adjust jpg orientation when uploading.")
- v.readMode = cmdVolume.Flag.String("readMode", "redirect", "[local|remote|redirect] how to deal with non-local volume: 'not found|read in remote node|redirect volume location'.")
+ v.readMode = cmdVolume.Flag.String("readMode", "redirect", "[local|proxy|redirect] how to deal with non-local volume: 'not found|proxy to remote node|redirect volume location'.")
v.cpuProfile = cmdVolume.Flag.String("cpuprofile", "", "cpu profile output file")
v.memProfile = cmdVolume.Flag.String("memprofile", "", "memory profile output file")
v.compactionMBPerSecond = cmdVolume.Flag.Int("compactionMBps", 0, "limit background compaction or copying speed in mega bytes per second")