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 #13069

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mkuratczyk
Copy link
Contributor

  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

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)
@ikavgo
Copy link
Contributor

ikavgo commented Jan 14, 2025

/approve

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