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

[run-tests] [fix][broker] Introduce the last sent position to fix message ordering issues in Key_Shared (PIP-282) #6

Closed
wants to merge 448 commits into from

Conversation

equanz
Copy link
Owner

@equanz equanz commented Jan 22, 2024

This PR is for running tests for upstream PR #FIXME.

@equanz equanz force-pushed the pip_282_to_master branch from b8fd521 to 43a2dc3 Compare January 23, 2024 03:20
@equanz equanz changed the title [run-tests] [fix][broker] PIP-282 introduce the last sent position to keep message ordering in Key_Shared [run-tests] [fix][broker] Introduce the last sent position to keep message ordering in Key_Shared (PIP-282) Jan 23, 2024
@equanz equanz changed the title [run-tests] [fix][broker] Introduce the last sent position to keep message ordering in Key_Shared (PIP-282) [run-tests] [fix][broker] Introduce the last sent position to keep message ordering in Key_Shared Jan 23, 2024
@equanz equanz changed the title [run-tests] [fix][broker] Introduce the last sent position to keep message ordering in Key_Shared [run-tests] [fix][broker] Introduce the last sent position to keep message ordering in Key_Shared (PIP-282) Jan 23, 2024
@equanz equanz changed the title [run-tests] [fix][broker] Introduce the last sent position to keep message ordering in Key_Shared (PIP-282) [run-tests] [fix][broker] Introduce the last sent position to guarantee message ordering in Key_Shared (PIP-282) Jan 23, 2024
@equanz equanz changed the title [run-tests] [fix][broker] Introduce the last sent position to guarantee message ordering in Key_Shared (PIP-282) [run-tests] [fix][broker] Introduce the last sent position to fix message ordering issues in Key_Shared (PIP-282) Jan 23, 2024
lhotari and others added 23 commits April 12, 2024 11:38
…d fix race conditions in metricsBufferResponse mode (apache#22494)
lhotari and others added 27 commits June 10, 2024 09:30
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)
…tinuously increases even when there is no backlog. (apache#22907)
…, LeastLongTermMessageRate, ModularLoadManagerImpl. (apache#22889)

Implementation PR: apache#22888

### Motivation

Initially, we introduce `loadBalancerCPUResourceWeight`, `loadBalancerBandwidthInResourceWeight`, `loadBalancerBandwidthOutResourceWeight`, `loadBalancerMemoryResourceWeight`, `loadBalancerDirectMemoryResourceWeight` in `ThresholdShedder` to control the resource weight for different resources when calculating the load of the broker. 

Then we let it work for `LeastResourceUsageWithWeight` for better bundle placement policy.

But apache#19559 and apache#21168 have point out that the actual load of the broker is not related to the memory usage and direct memory usage, thus we have changed the default value of `loadBalancerMemoryResourceWeight`, `loadBalancerDirectMemoryResourceWeight` to 0.0.


There are still some places where memory usage and direct memory usage are used to calculate the load of the broker, such as `OverloadShedder`, `LeastLongTermMessageRate`, `ModularLoadManagerImpl`. We should let the resource weight work for these places so that we can set the resource weight to 0.0 to avoid the impact of memory usage and direct memory usage on the load of the broker.


### Modifications

- Let resource weight work for `OverloadShedder`, `LeastLongTermMessageRate`, `ModularLoadManagerImpl`.
### Motivation

Those bundles that are filtered when try to unload them should not be included in the indicator.

### Modifications

Increment the metric only when the bundle are unloaded.
@equanz equanz force-pushed the pip_282_to_master branch from c3b318a to 8b427b3 Compare June 18, 2024 08:09
@equanz equanz closed this Aug 1, 2024
@equanz equanz deleted the pip_282_to_master branch August 1, 2024 11:28
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.