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

make total weight optional #21892

Merged
merged 8 commits into from
Jul 14, 2022
Merged

make total weight optional #21892

merged 8 commits into from
Jul 14, 2022

Conversation

zirain
Copy link
Member

@zirain zirain commented Jun 25, 2022

Signed-off-by: hejianpeng [email protected]

Commit Message: make WeightedCluster.TotalWeight optional
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] #21845
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: hejianpeng <[email protected]>
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy[\w/]*/(v1alpha\d?|v1|v2alpha\d?|v2))|(api/envoy/type/(matcher/)?\w+.proto).
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #21892 was opened by zirain.

see: more, trace.

@wbpcode
Copy link
Member

wbpcode commented Jun 30, 2022

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #21892 (comment) was created by @wbpcode.

see: more, trace.

@wrowe
Copy link
Contributor

wrowe commented Jul 7, 2022

/assign-from envoyproxy/envoy-maintainers

@repokitteh-read-only
Copy link

envoyproxy/envoy-maintainers assignee is @mattklein123

🐱

Caused by: a #21892 (comment) was created by @wrowe.

see: more, trace.

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with small comment, thanks.

/wait

@wrowe
Copy link
Contributor

wrowe commented Jul 7, 2022

/wait

on release notes requested

Signed-off-by: hejianpeng <[email protected]>
Signed-off-by: hejianpeng <[email protected]>
Signed-off-by: hejianpeng <[email protected]>
@markdroth
Copy link
Contributor

Is there actually any reason why the total_weight field is useful? It seems like it just pushes a sanity check down to the client that could just as easily be done on the server. Maybe we should just deprecate that field?

@mattklein123
Copy link
Member

Is there actually any reason why the total_weight field is useful? It seems like it just pushes a sanity check down to the client that could just as easily be done on the server. Maybe we should just deprecate that field?

It's been a long time, but historically I think the reason this field existed is due to the common mistake of not adjusting weights in tandem and then users not understand why things were not adding up correctly. One could argue this could be checked by something higher layer. I don't fully strongly about it at this point.

Signed-off-by: hejianpeng <[email protected]>
Signed-off-by: hejianpeng <[email protected]>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zirain
Copy link
Member Author

zirain commented Jul 14, 2022

CI is blocked?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants