This is an automated email from the ASF dual-hosted git repository.

Yicong-Huang pushed a commit to branch 
backport/9349-disable-the-request-timeout-on-the-rustf-v1.3
in repository https://gitbox.apache.org/repos/asf/texera.git

commit 7e303986d16dc9140e143dde163e82b7cb473f6e
Author: Kunwoo (Chris) <[email protected]>
AuthorDate: Mon Nov 9 01:56:06 2026 +0000

    fix(k8s): disable the request timeout on the RustFS gateway route (#9349)
    
    ### What changes were proposed in this PR?
    
    `texera-rustfs-route` had no `timeouts` block, so Envoy Gateway applied
    its default 15s request timeout. When presigned URLs are served through
    the gateway hostname, any download still running after 15s is cut off
    mid-body, and multi-GB dataset files regularly take that long. This PR
    sets `timeouts.request: "0s"` on the route, the same way the
    notebook-migration and LLM routes already set their own request
    timeouts.
    
    ### Any related issues, documentation, discussions?
    
    Closes #9351, part of #9347 (the gateway-side cause). The client-side
    fix, which reports a cut-off download as an error instead of saving a
    truncated file, is #9348.
    
    ### How was this PR tested?
    
    - Rendered the route with `helm template ... --set
    rustfs.gateway.enabled=true --show-only
    templates/base/gateway/gateway-routes.yaml`. The `timeouts.request:
    "0s"` block appears on the rule.
    - On a running deployment with the same route shape (MinIO behind the
    same Envoy Gateway), we downloaded a 1,313,583,050-byte presigned object
    at 20 MB/s from inside the cluster. Before the change it was cut at
    15.2s after 324 MB (curl exit 18). After the change it completed in full
    in 62s.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (Claude Opus 5.5)
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    (backported from commit 03db52be3e089f139216529159fc481191dc99d8)
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    Co-authored-by: Meng Wang <[email protected]>
---
 bin/k8s/templates/base/gateway/gateway-routes.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/k8s/templates/base/gateway/gateway-routes.yaml 
b/bin/k8s/templates/base/gateway/gateway-routes.yaml
index 8ca07e6309..d5f32be3ad 100644
--- a/bin/k8s/templates/base/gateway/gateway-routes.yaml
+++ b/bin/k8s/templates/base/gateway/gateway-routes.yaml
@@ -184,6 +184,10 @@ spec:
         - path:
             type: PathPrefix
             value: /
+      # Presigned downloads can be many GB, so Envoy's 15s default would cut 
them off mid-body.
+      # "0s" also turns off the stream idle timeout, so Envoy keeps a stalled 
download open.
+      timeouts:
+        request: "0s"
       backendRefs:
         - name: {{ .Release.Name }}-rustfs-svc
           port: 9000

Reply via email to