aboutsummaryrefslogtreecommitdiff
path: root/k8s/charts
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-12-04 18:31:46 -0800
committerGitHub <noreply@github.com>2025-12-04 18:31:46 -0800
commit3183a49698d77659cd15434ccd58c3002bc8c266 (patch)
tree783db24bc24dc2bae68e1c76b3b0fa7909558635 /k8s/charts
parentf9b4a4c396d42b749f29c07d3c1dec0d2a18aaed (diff)
downloadseaweedfs-3183a49698d77659cd15434ccd58c3002bc8c266.tar.xz
seaweedfs-3183a49698d77659cd15434ccd58c3002bc8c266.zip
fix: S3 downloads failing after idle timeout (#7626)
* fix: S3 downloads failing after idle timeout (#7618) The idle timeout was incorrectly terminating active downloads because read and write deadlines were managed independently. During a download, the server writes data but rarely reads, so the read deadline would expire even though the connection was actively being used. Changes: 1. Simplify to single Timeout field - since this is a 'no activity timeout' where any activity extends the deadline, separate read/write timeouts are unnecessary. Now uses SetDeadline() which sets both at once. 2. Implement proper 'no activity timeout' - any activity (read or write) now extends the deadline. The connection only times out when there's genuinely no activity in either direction. 3. Increase default S3 idleTimeout from 10s to 120s for additional safety margin when fetching chunks from slow storage backends. Fixes #7618 * Update weed/util/net_timeout.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Diffstat (limited to 'k8s/charts')
-rw-r--r--k8s/charts/seaweedfs/values.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml
index 520323dce..bddfd622d 100644
--- a/k8s/charts/seaweedfs/values.yaml
+++ b/k8s/charts/seaweedfs/values.yaml
@@ -979,9 +979,9 @@ s3:
extraEnvironmentVars:
# Custom command line arguments to add to the s3 command
- # Example to fix connection idle seconds:
- extraArgs: ["-idleTimeout=30"]
- # extraArgs: []
+ # Default idleTimeout is 120 seconds. Example to customize:
+ # extraArgs: ["-idleTimeout=300"]
+ extraArgs: []
# used to configure livenessProbe on s3 containers
#