Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Limitless plugin set round robin weights to original props used … #1223

Merged

Conversation

aaronchung-bitquill
Copy link
Contributor

@aaronchung-bitquill aaronchung-bitquill commented Dec 13, 2024

…by the round robin host selector, not a copy

Summary

Description

The RoundRobinHostSelector reads weights from the props from the plugin service. But the issue is that the Limitless plugin copies those props, setting the weights to its own copy of props which arent used by the RoundRobinHostSelector. So, the RoundRobinHostSelector will end up reading props without weights.

This fix makes it so that when the Limitless plugin sets the round robin host weights, it sets it to the props from plugin service, which are then read by the RoundRobinHostSelector.

Additional Reviewers

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aaronchung-bitquill aaronchung-bitquill force-pushed the fix/limitless-set-weight-props branch 3 times, most recently from 56d4c46 to b2d9a1e Compare December 16, 2024 22:57
@aaronchung-bitquill aaronchung-bitquill force-pushed the fix/limitless-set-weight-props branch from b2d9a1e to 663b335 Compare December 17, 2024 01:24
@aaronchung-bitquill aaronchung-bitquill enabled auto-merge (squash) December 17, 2024 01:36
…by the round robin host selector, not a copy
@aaronchung-bitquill aaronchung-bitquill force-pushed the fix/limitless-set-weight-props branch from 663b335 to 80b2dd4 Compare December 17, 2024 20:03
@aaronchung-bitquill aaronchung-bitquill merged commit 929d356 into aws:main Dec 17, 2024
5 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants