diff options
| author | chrislu <chris.lu@gmail.com> | 2022-09-15 23:33:46 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-09-15 23:33:46 -0700 |
| commit | cf90f76a35df8c8509ad3ccece566ecb0b74cf66 (patch) | |
| tree | cb321b60efb4694f2ce8ad55246972ce148150ec | |
| parent | a752f6220e2da85fdad5553c35d3023ce098ac83 (diff) | |
| download | seaweedfs-cf90f76a35df8c8509ad3ccece566ecb0b74cf66.tar.xz seaweedfs-cf90f76a35df8c8509ad3ccece566ecb0b74cf66.zip | |
mark "hasSlowRead" as experimental
| -rw-r--r-- | weed/command/server.go | 2 | ||||
| -rw-r--r-- | weed/command/volume.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index 6db57744c..74f0e582e 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -131,7 +131,7 @@ func init() { 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", "", "directory to store .idx files") serverOptions.v.inflightUploadDataTimeout = cmdServer.Flag.Duration("volume.inflightUploadDataTimeout", 60*time.Second, "inflight upload data wait timeout of volume servers") - serverOptions.v.hasSlowRead = cmdServer.Flag.Bool("volume.hasSlowRead", false, "if true, this prevents slow reads from blocking other requests, but large file read P99 latency will increase.") + serverOptions.v.hasSlowRead = cmdServer.Flag.Bool("volume.hasSlowRead", false, "<experimental> if true, this prevents slow reads from blocking other requests, but large file read P99 latency will increase.") s3Options.port = cmdServer.Flag.Int("s3.port", 8333, "s3 server http listen port") s3Options.portGrpc = cmdServer.Flag.Int("s3.port.grpc", 0, "s3 server grpc listen port") diff --git a/weed/command/volume.go b/weed/command/volume.go index 2e62921ca..3b31ada50 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -97,7 +97,7 @@ func init() { v.metricsHttpPort = cmdVolume.Flag.Int("metricsPort", 0, "Prometheus metrics listen port") v.idxFolder = cmdVolume.Flag.String("dir.idx", "", "directory to store .idx files") v.inflightUploadDataTimeout = cmdVolume.Flag.Duration("inflightUploadDataTimeout", 60*time.Second, "inflight upload data wait timeout of volume servers") - v.hasSlowRead = cmdVolume.Flag.Bool("hasSlowRead", false, "if true, this prevents slow reads from blocking other requests, but large file read P99 latency will increase.") + v.hasSlowRead = cmdVolume.Flag.Bool("hasSlowRead", false, "<experimental> if true, this prevents slow reads from blocking other requests, but large file read P99 latency will increase.") } var cmdVolume = &Command{ |
