Skip to content

Fixes updates to traffic shaping options with shared servers#5282

Merged
vietj merged 4 commits intoeclipse-vertx:4.xfrom
arjunashok:fix-traffic-shaping
Jan 13, 2025
Merged

Fixes updates to traffic shaping options with shared servers#5282
vietj merged 4 commits intoeclipse-vertx:4.xfrom
arjunashok:fix-traffic-shaping

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
@vietj vietj merged commit e7a0f6d into eclipse-vertx:4.x Jan 13, 2025
1 check passed
@vietj vietj added the bug label Jan 13, 2025
@arjunashok arjunashok deleted the fix-traffic-shaping branch January 13, 2025 20:58
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