Skip to content

Revert enable_full_scan#30812

Merged
kyessenov merged 5 commits intoenvoyproxy:mainfrom
kyessenov:revert_full_scan
Dec 9, 2023
Merged

Revert enable_full_scan#30812
kyessenov merged 5 commits intoenvoyproxy:mainfrom
kyessenov:revert_full_scan

Conversation

@kyessenov
Copy link
Copy Markdown
Contributor

@kyessenov kyessenov commented Nov 9, 2023

Commit Message: Reverts #29873 and #30794

Multiple concerns about the effect of a full scan on LEAST_REQUEST have been raised.
See previous discussions in #11004 and #11006.

Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @htuch
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #30812 was opened by kyessenov.

see: more, trace.

…citly forleast request lb (envoyproxy#30794)"

This reverts commit e93e556.

Revert "Fix least request lb not fair (envoyproxy#29873)"

This reverts commit 3ea2bc4.

restore api

Signed-off-by: Kuat Yessenov <kuat@google.com>

fix merge

Signed-off-by: Kuat Yessenov <kuat@google.com>
lizan
lizan previously approved these changes Nov 9, 2023
@repokitteh-read-only repokitteh-read-only bot removed the api label Nov 9, 2023
@tonya11en
Copy link
Copy Markdown
Member

/retest

@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Nov 10, 2023

So, my previous reverting didn't resolve your problem? Now it should do nothing if you didn't set it explicitly?

htuch
htuch previously approved these changes Nov 10, 2023
@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Nov 10, 2023

cc @kyessenov may need to kick the ci?

@kyessenov
Copy link
Copy Markdown
Contributor Author

/retest

@jkirschner-hashicorp
Copy link
Copy Markdown
Contributor

Hi all - I'm an external observer who was interested in enable_full_scan and hoping to use it in Envoy 1.29 when I saw the original PR go through.

Given this reversion PR, what is the thinking about when/if this functionality might be reintroduced?

I looked through the references (#11004, #11006) to try to understand why it is being reverted. It seems like the original PR #29873 introduced a subtle/minor breaking change that was fixed in #30794. Per this comment, are we concerned about it still being a breaking change even after #30794, so we're pulling it for now (since it's too late to introduce breaking changes in the 1.29 release cycle)? Or is the reversion due to some other technical concern that I may have overlooked when reading through the references?

Thanks everyone!

@tonya11en
Copy link
Copy Markdown
Member

tonya11en commented Nov 10, 2023 via email

@jkirschner-hashicorp
Copy link
Copy Markdown
Contributor

Ah, got it. I may have misunderstood #30794, which I thought removed the "default to on (if host num < choice count)" behavior.

@tonya11en
Copy link
Copy Markdown
Member

@kyessenov I think you'll need to fix formatting to make it pass CI now.

@KBaichoo
Copy link
Copy Markdown
Contributor

I think this is waiting on you @kyessenov .

/wait

@barroca
Copy link
Copy Markdown
Contributor

barroca commented Dec 2, 2023

Hello, I have the PR #31146 that start the selection from a random index for the full scan preventing the choice of the same index when the number of requests is the same. Perhaps we can merge it instead of revert?

Signed-off-by: Kuat Yessenov <kuat@google.com>
@kyessenov kyessenov dismissed stale reviews from htuch and lizan via 50465bd December 5, 2023 18:06
@repokitteh-read-only repokitteh-read-only bot added api and removed waiting labels Dec 5, 2023
Signed-off-by: Kuat Yessenov <kuat@google.com>
@kyessenov
Copy link
Copy Markdown
Contributor Author

Merged main. Sorry, I forgot to get this over the finish line.
@barroca I think we should combine the reverted code with the fix in a new PR. It's not a big change. We can review it again.

@barroca
Copy link
Copy Markdown
Contributor

barroca commented Dec 6, 2023

Merged main. Sorry, I forgot to get this over the finish line. @barroca I think we should combine the reverted code with the fix in a new PR. It's not a big change. We can review it again.

No worries, I believe the PR wasn't approved and need some discussion. Hopefully we can come with an agreement.

@tonya11en
Copy link
Copy Markdown
Member

/retest

@tonya11en
Copy link
Copy Markdown
Member

tonya11en commented Dec 8, 2023

There are merge conflicts now. Luckily, it's just a release note issue. We should wrap this up soon, since there's a few other changes waiting on it.

Signed-off-by: Kuat Yessenov <kuat@google.com>
@kyessenov
Copy link
Copy Markdown
Contributor Author

@wbpcode or @htuch to approve this, so I don't have to keep merging main :)

@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Dec 9, 2023

/lgtm

let's revert this first and then I think @tonya11en has some work to land. At last, we will have a tool to evaluate our new lb feature.

@repokitteh-read-only
Copy link
Copy Markdown

please specify a single label can be specified

🐱

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

see: more, trace.

@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Dec 9, 2023

@kyessenov feel free to merge this after resolved conflict and CI.

Copy link
Copy Markdown
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@repokitteh-read-only repokitteh-read-only bot removed the api label Dec 9, 2023
@kyessenov kyessenov merged commit 6acfb74 into envoyproxy:main Dec 9, 2023
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.

8 participants