Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASoC 2022] Optimization of Pixiu timeout feature #475

Merged
merged 16 commits into from
Oct 4, 2022

Conversation

CSWYF3634076
Copy link
Contributor

@CSWYF3634076 CSWYF3634076 commented Aug 27, 2022

What this PR does:
timeout for pixiu
Which issue(s) this PR fixes:

Fixes #431
Special notes for your reviewer:
对于http2http&https 使用直接在client req中添加timeout的方式
对于htp2grpc 和 http2triple 使用在ctx中添加timeout的方式实现超时
对于http2dubbo 使用在dubbo请求添加超时的方式,使用了 timeout_config --> request_timeout: 1ns 实现,我看这个字段还没有被使用
image
完善中。。。
Does this PR introduce a user-facing change?:
yes ,需要在config下添加超时条件,例如 timeout :1ns
image


@mark4z
Copy link
Member

mark4z commented Aug 28, 2022

fix the ut

@mark4z
Copy link
Member

mark4z commented Sep 4, 2022

fix the git conflict

@CSWYF3634076
Copy link
Contributor Author

fix the ut

get

@CSWYF3634076
Copy link
Contributor Author

fix the git conflict

get

@PhilYue PhilYue closed this Sep 6, 2022
@PhilYue PhilYue reopened this Sep 6, 2022
pkg/client/triple/triple.go Outdated Show resolved Hide resolved
@mark4z
Copy link
Member

mark4z commented Sep 16, 2022

fix ut

@codecov-commenter
Copy link

Codecov Report

Merging #475 (b44077e) into develop (5301405) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #475      +/-   ##
===========================================
- Coverage    54.97%   54.92%   -0.06%     
===========================================
  Files          662      662              
  Lines        77433    77440       +7     
===========================================
- Hits         42572    42537      -35     
- Misses       31246    31279      +33     
- Partials      3615     3624       +9     
Impacted Files Coverage Δ
pixiu/pkg/client/dubbo/dubbo.go 18.01% <0.00%> (-0.58%) ⬇️
pixiu/pkg/client/http/http.go 42.16% <0.00%> (ø)
pixiu/pkg/client/request.go 0.00% <ø> (ø)
pixiu/pkg/common/http/manager.go 42.30% <0.00%> (-0.55%) ⬇️
pixiu/pkg/context/http/context.go 0.00% <0.00%> (ø)
security/pkg/credentialfetcher/fetcher.go 40.00% <0.00%> (-20.00%) ⬇️
pkg/envoy/admin.go 50.00% <0.00%> (-9.68%) ⬇️
pilot/pkg/model/addressmap.go 63.23% <0.00%> (-4.42%) ⬇️
pkg/istio-agent/xds_proxy_delta.go 51.29% <0.00%> (-4.15%) ⬇️
pilot/pkg/model/service.go 44.79% <0.00%> (-2.72%) ⬇️
... and 12 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@PhilYue PhilYue added this to the 0.6.0 milestone Sep 20, 2022
@mark4z mark4z merged commit 36b0bce into apache:develop Oct 4, 2022
bobtthp pushed a commit to bobtthp/dubbo-go-pixiu that referenced this pull request Dec 12, 2022
* timeout http & grpc & dubbo v1.0

* timeout triple 和 其他

* feat:timeout optimization

* feat:timeout dubbo

* feat:timeout dubbo

* feat : timeout

* feat : fix conflict

* feat : fix ut

* feat : modify struct tag

* feat : modify struct tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ASoC 2022] Optimization of Pixiu timeout feature
5 participants