Skip to content

Set RCD for 100% drop_overload case as unconditional_drop_overload#38408

Merged
yanavlasov merged 9 commits intoenvoyproxy:mainfrom
yanjunxiang-google:move_drop_overload
Mar 4, 2025
Merged

Set RCD for 100% drop_overload case as unconditional_drop_overload#38408
yanavlasov merged 9 commits intoenvoyproxy:mainfrom
yanjunxiang-google:move_drop_overload

Conversation

@yanjunxiang-google
Copy link
Contributor

@yanjunxiang-google yanjunxiang-google commented Feb 11, 2025

This is a follow up commit of drop_overload support:#30827.

It is observed that in some situations, EDS sends drop_overload ratio as 100% for some clusters do not have healthy endpoints in the cluster. For such cases, it is preferred that the RCD of the local reply set to "unconditional drop overload" to make it a little bit different from the normal "drop overload" case.

…and LoadShed check

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #38408 was opened by yanjunxiang-google.

see: more, trace.

@yanjunxiang-google yanjunxiang-google changed the title Move drop_overload check in router filter to after NoHealthyUpstream … Move drop_overload check in router filter to after NoHealthyUpstream and LoadShed check Feb 11, 2025
@yanjunxiang-google yanjunxiang-google marked this pull request as ready for review February 11, 2025 23:45
@yanjunxiang-google yanjunxiang-google marked this pull request as draft February 11, 2025 23:49
@yanjunxiang-google yanjunxiang-google marked this pull request as ready for review February 11, 2025 23:54
@yanjunxiang-google yanjunxiang-google marked this pull request as draft February 12, 2025 00:29
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
@yanjunxiang-google yanjunxiang-google changed the title Move drop_overload check in router filter to after NoHealthyUpstream and LoadShed check Set RCD for 100% drop_overload case as unconditional_drop_overload Feb 18, 2025
@yanjunxiang-google
Copy link
Contributor Author

TEST_P(EdsIntegrationTest, DropOverloadTestForEdsClusterAllDrop) { dropOverloadTest(100, "503"); }
tested drop_overload = 100% case.

@yanjunxiang-google yanjunxiang-google marked this pull request as ready for review February 18, 2025 22:25
@yanjunxiang-google
Copy link
Contributor Author

/assign @yanavlasov @yurykats

@yanjunxiang-google
Copy link
Contributor Author

/retest

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
@repokitteh-read-only
Copy link

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: #38408 was synchronize by yanjunxiang-google.

see: more, trace.

…drop_overload

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
@yanjunxiang-google yanjunxiang-google marked this pull request as draft February 24, 2025 23:56
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
@yanjunxiang-google yanjunxiang-google marked this pull request as ready for review February 25, 2025 15:27
@yanjunxiang-google
Copy link
Contributor Author

/assign @markdroth

@yanavlasov
Copy link
Contributor

TEST_P(EdsIntegrationTest, DropOverloadTestForEdsClusterAllDrop) { dropOverloadTest(100, "503"); }

tested drop_overload = 100% case.

Are there any tests that validate different reason codes for drop overload cases?

/wait-any

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
@yanjunxiang-google
Copy link
Contributor Author

TEST_P(EdsIntegrationTest, DropOverloadTestForEdsClusterAllDrop) { dropOverloadTest(100, "503"); }

tested drop_overload = 100% case.

Are there any tests that validate different reason codes for drop overload cases?

/wait-any

Added

@yanavlasov yanavlasov merged commit 5ff9f03 into envoyproxy:main Mar 4, 2025
25 of 26 checks passed
jewertow pushed a commit to jewertow/envoy that referenced this pull request Apr 2, 2025
…nvoyproxy#38408)

This is a follow up commit of drop_overload
support:envoyproxy#30827.

It is observed that in some situations, EDS sends drop_overload ratio as
100% for some clusters do not have healthy endpoints in the cluster. For
such cases, it is preferred that the RCD of the local reply set to
"unconditional drop overload" to make it a little bit different from the
normal "drop overload" case.

---------

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
agrawroh pushed a commit to agrawroh/envoy that referenced this pull request Apr 9, 2025
…nvoyproxy#38408)

This is a follow up commit of drop_overload
support:envoyproxy#30827.

It is observed that in some situations, EDS sends drop_overload ratio as
100% for some clusters do not have healthy endpoints in the cluster. For
such cases, it is preferred that the RCD of the local reply set to
"unconditional drop overload" to make it a little bit different from the
normal "drop overload" case.

---------

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants