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

Fixes updates to traffic shaping options with shared servers #5282

Open
wants to merge 3 commits into
base: 4.x
Choose a base branch
from

Conversation

arjunashok
Copy link

Motivation:

This fixes the update-path for traffic shaping options to check for the existence of the traffic shaping handler only for the actual server. Currently, updating traffic-shaping options in a shared-server setting results in IllegalStateException, as the traffic-shaping handler is not set for the worker (non-main) servers.

Conformance:

You should have signed the Eclipse Contributor Agreement as explained in https://github.com/eclipse/vert.x/blob/master/CONTRIBUTING.md
Please also make sure you adhere to the code style guidelines: https://github.com/vert-x3/wiki/wiki/Vert.x-code-style-guidelines

This fixes the update-path for traffic shaping options to check for the existence of the traffic shaping handler only for the actual server.
@arjunashok arjunashok marked this pull request as draft August 14, 2024 22:18
@arjunashok arjunashok marked this pull request as ready for review August 14, 2024 22:19
…hey do not change

This is especially relevant for shared servers, where we now 1) update the actual-server's options, and 2) only perform the update when the traffic options change.
@vietj vietj added this to the 4.5.12 milestone Nov 19, 2024
@vietj vietj assigned vietj and unassigned vietj Dec 10, 2024
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.

3 participants