Skip to content

escalate.so: --escalate-non-get-methods #12448

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

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

bneradt
Copy link
Contributor

@bneradt bneradt commented Aug 12, 2025

Implement --escalate-non-get-methods for the escalate plugin. By default, only GET methods are escalated because typical failover servers are caches of the original and cannot handle non-idempotent requests. However, for situations where non-GET is supported, this method allows the admin to escalate those requests as well.


This replaces #12438: the concept is similar, but with this PR the default behavior is to avoid redirecting non-GET methods with the option provided to escalate them if wanted.

@bneradt bneradt added this to the 10.2.0 milestone Aug 12, 2025
@bneradt bneradt requested a review from shukitchan August 12, 2025 21:22
@bneradt bneradt self-assigned this Aug 12, 2025
@bneradt bneradt added New Feature escalate escalate plugin labels Aug 12, 2025
Implement --escalate-non-get-methods for the escalate plugin. By
default, only GET methods are escalated because typical failover servers
are caches of the original and cannot handle non-idempotent requests.
However, for situations where non-GET is supported, this method allows
the admin to escalate those requests as well.
@ezelkow1 ezelkow1 self-requested a review August 15, 2025 14:56
Copy link
Member

@ezelkow1 ezelkow1 left a comment

Choose a reason for hiding this comment

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

lgtm

@bneradt bneradt merged commit 6610bd8 into apache:master Aug 15, 2025
15 checks passed
@bneradt bneradt deleted the escalate_non_get_methods branch August 15, 2025 19:30
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.

3 participants