Skip to content

Speed up shovel start (backport #9785) #9796

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 4 commits into from
Oct 26, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 26, 2023

This is an automatic backport of pull request #9785 done by Mergify.
Cherry-pick of 015be93 has failed:

On branch mergify/bp/v3.12.x/pr-9785
Your branch is up to date with 'origin/v3.12.x'.

You are currently cherry-picking commit 015be9336c.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   deps/rabbitmq_shovel/src/rabbit_shovel_dyn_worker_sup_sup.erl

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

The filtering was incorrect, so we ended up trying to delete
all existing shovels. Running shovels would reject the attempt,
so things generally worked as expected, but this redundant work
was quite costly.

In a test with 1000 shovels, this change speeds up a definition import
from a few minutes to a few seconds.

Fixes https://github.com/rabbitmq/rabbitmq-server/discussions/9714
Fixes #8364

(cherry picked from commit 015be93)

# Conflicts:
#	deps/rabbitmq_shovel/src/rabbit_shovel_dyn_worker_sup_sup.erl
@michaelklishin michaelklishin added this to the 3.12.8 milestone Oct 26, 2023
@michaelklishin michaelklishin merged commit 4c54833 into v3.12.x Oct 26, 2023
@michaelklishin michaelklishin deleted the mergify/bp/v3.12.x/pr-9785 branch October 26, 2023 20:32
mergify bot pushed a commit that referenced this pull request Oct 26, 2023
(cherry picked from commit 4e30c2a)
michaelklishin added a commit that referenced this pull request Oct 26, 2023
Speed up shovel start (backport #9785) (backport #9796)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants