Skip to content

After a bundle split, perform the unload in background #7387

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
Jun 30, 2020

Conversation

merlimat
Copy link
Contributor

Motivation

After a bundle is split by the load manager, by default we also attempt to unload the 2 newly created bundles halves.

Currently the unload is performed sequentially after the split and it will be keeping the split operation pending until is completed.

In reality, this is not necessary, because the unload is only done as a best effort to quickly spread the load to other brokers, once the the bundle is split. This operation can be safely done in background.

@merlimat merlimat added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Jun 29, 2020
@merlimat merlimat added this to the 2.7.0 milestone Jun 29, 2020
@merlimat merlimat self-assigned this Jun 29, 2020
@merlimat merlimat merged commit 03dc1be into apache:master Jun 30, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants