Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

envoy/rds: disable default timeout for route to clusters #4127

Merged
merged 1 commit into from
Sep 17, 2021

Conversation

shashankram
Copy link
Member

Description:
Disabled the default 15s timeout for routes to clusters
because this results in connections being reset when the
requests take longer than 15s, such as in the case of
large file transfers.

Configurable timeouts to access services will be supported
in a future release of OSM.

Testing done:
Tested a large file transfer that takes longer than 15s to
complete and verified it works as expected. Without this
change, the request would timeout at 15s.

Affected area:

Functional Area
Control Plane [X]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? no

Disabled the default 15s timeout for routes to clusters
because this results in connections being reset when the
requests take longer than 15s, such as in the case of
large file transfers.

Configurable timeouts to access services will be supported
in a future release of OSM.

Signed-off-by: Shashank Ram <[email protected]>
@shashankram shashankram requested a review from a team as a code owner September 16, 2021 23:09
@codecov-commenter
Copy link

Codecov Report

Merging #4127 (4efd6ed) into main (e166752) will increase coverage by 0.14%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4127      +/-   ##
==========================================
+ Coverage   68.64%   68.78%   +0.14%     
==========================================
  Files         210      210              
  Lines       11405    11406       +1     
==========================================
+ Hits         7829     7846      +17     
+ Misses       3524     3508      -16     
  Partials       52       52              
Flag Coverage Δ
unittests 68.78% <100.00%> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/envoy/rds/route/route_config.go 100.00% <100.00%> (ø)
pkg/k8s/announcement_handlers.go 78.37% <0.00%> (+5.40%) ⬆️
pkg/crdconversion/crdconversion.go 75.00% <0.00%> (+15.21%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e166752...4efd6ed. Read the comment docs.

@shashankram shashankram merged commit 2bb06c0 into openservicemesh:main Sep 17, 2021
@shashankram shashankram deleted the disable-route-timeout branch September 17, 2021 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants