Skip to content

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

@ikavgo
Copy link
Contributor

ikavgo commented Jan 14, 2025

/approve

@mkuratczyk mkuratczyk force-pushed the update-startup-checks branch from 9432603 to cc6cf3a Compare January 16, 2025 16:42
@michaelklishin michaelklishin added this to the 4.1.0 milestone Jan 16, 2025
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)
@mkuratczyk mkuratczyk force-pushed the update-startup-checks branch from cc6cf3a to 14171fb Compare January 17, 2025 12:38
@mkuratczyk mkuratczyk merged commit 3ff90de into main Jan 17, 2025
272 checks passed
@mkuratczyk mkuratczyk deleted the update-startup-checks branch January 17, 2025 13:28
mkuratczyk added a commit that referenced this pull request Jan 17, 2025
Remove deprecated/unused/old startup checks (backport #13069)
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.

4 participants