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

Remove deprecated/unused/old startup checks (backport #13069) #13096

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jan 17, 2025

  1. Remove outdated check for the number of dirty I/O schedulers
  2. Remove validation of msg_store_io_batch_size - this setting is no longer used (I also made it explicit in rabbit_msg_store
  3. Remove validation of msg_store_credit_disc_bound - this setting is technically still checked in the code but I don't see any difference in performance, regardless of how I set it (even values such as {1, 1} work perfectly fine). We should take a closer look and probably just completely remove this know. However, since credit flow is tricky and maybe in some cases it has some impact, I left the usage as is, but since the validation was intertwined with msg_store_io_batch_size and it's not clear what values we could even recommend - I just remove all validation.

I've also removed msg_store_credit_disc_bound the docs, since I don't think people should worry about it at all:
rabbitmq/rabbitmq-website@320071d


This is an automatic backport of pull request #13069 done by Mergify.

msg_store_io_batch_size is no longer used

msg_store_credit_disc_bound appears to be used in the code, but I don't
see any impact of that value on the performance. It should be properly
investigated and either removed completely or fixed, because there's
hardly any point in warning about the values configured
(plus, this settings is hopefully almost never used anyway)

(cherry picked from commit 14171fb)
@mkuratczyk mkuratczyk merged commit 2ceacb5 into v4.0.x Jan 17, 2025
272 checks passed
@mkuratczyk mkuratczyk deleted the mergify/bp/v4.0.x/pr-13069 branch January 17, 2025 16:01
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.

1 participant