Skip to content

upstream: host weight ranges from 1 to 128#5831

Merged
htuch merged 5 commits intoenvoyproxy:masterfrom
mergeconflict:host_weight_range
Feb 5, 2019
Merged

upstream: host weight ranges from 1 to 128#5831
htuch merged 5 commits intoenvoyproxy:masterfrom
mergeconflict:host_weight_range

Conversation

@mergeconflict
Copy link

Description: Fix some incorrect comments about the range of valid host weights, and updated Maglev LB implementation to assume weights are always non-zero.
Risk Level: Low
Testing: Existing tests, including maglev_lb_test and upstream_impl_test.
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Dan Rosen mergeconflict@google.com

Signed-off-by: Dan Rosen <mergeconflict@google.com>
@mergeconflict
Copy link
Author

/review htuch

@repokitteh-read-only repokitteh-read-only bot requested a review from htuch February 4, 2019 18:12
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Thanks.

@htuch htuch self-assigned this Feb 4, 2019
@htuch
Copy link
Member

htuch commented Feb 4, 2019

Please merge master to pick up #5827.

Dan Rosen added 4 commits February 4, 2019 16:17
…_range

Signed-off-by: Dan Rosen <mergeconflict@google.com>
Signed-off-by: Dan Rosen <mergeconflict@google.com>
Signed-off-by: Dan Rosen <mergeconflict@google.com>
…_range

Signed-off-by: Dan Rosen <mergeconflict@google.com>
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Thanks!

@htuch htuch merged commit a06b9a8 into envoyproxy:master Feb 5, 2019
@mergeconflict mergeconflict deleted the host_weight_range branch February 5, 2019 17:51
htuch added a commit to htuch/envoy that referenced this pull request Feb 6, 2019
The config fuzzer showed that the locality weight assertion in
envoyproxy#5831 was too strong. Extant behavior was and is that if
locality weight is not specified and locality LB weighting, we should just ignore the locality.

Fixes oss-fuzz issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12923.

Risk level: Low
Testing: Corpus entry and unit test added.

Signed-off-by: Harvey Tuch <htuch@google.com>
htuch added a commit that referenced this pull request Feb 6, 2019
The config fuzzer showed that the locality weight assertion in
#5831 was too strong. Extant behavior was and is that if
locality weight is not specified and locality LB weighting, we should just ignore the locality.

Fixes oss-fuzz issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12923.

Risk level: Low
Testing: Corpus entry and unit test added.

Signed-off-by: Harvey Tuch <htuch@google.com>
mattklein123 pushed a commit to envoyproxy/data-plane-api that referenced this pull request Feb 7, 2019
The config fuzzer showed that the locality weight assertion in
envoyproxy/envoy#5831 was too strong. Extant behavior was and is that if
locality weight is not specified and locality LB weighting, we should just ignore the locality.

Fixes oss-fuzz issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12923.

Risk level: Low
Testing: Corpus entry and unit test added.

Signed-off-by: Harvey Tuch <htuch@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 5fd128d63810919840917bdf7da2d018edc5e32f
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
Fix some incorrect comments about the range of valid host weights, and updated Maglev LB implementation to assume weights are always non-zero.

Risk Level: Low
Testing: Existing tests, including maglev_lb_test and upstream_impl_test.

Signed-off-by: Dan Rosen <mergeconflict@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
The config fuzzer showed that the locality weight assertion in
envoyproxy#5831 was too strong. Extant behavior was and is that if
locality weight is not specified and locality LB weighting, we should just ignore the locality.

Fixes oss-fuzz issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12923.

Risk level: Low
Testing: Corpus entry and unit test added.

Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
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.

2 participants