Skip to content

Conversation

@lhoguin
Copy link
Contributor

@lhoguin lhoguin commented Nov 20, 2025

This branch continues cleaning up CQs.

Intent in this branch WAS to add at least delivery-count but there was too much cleanup remaining. A future branch will implement delivery-count.

@mergify mergify bot added the make label Nov 24, 2025
Now the CQ state can be changed without breaking this test
all the time. Only the #msg_status{} record remains a potential
problem but thankfully it does not change often.
Requeue is handled asynchronously so this clause is unused.
The module is no longer used now that CQv1 has been removed.
The only useful function remaining is `ulimit/1` which is
used both in metrics and to provide a warning if too low
on startup. It was moved to rabbit_runtime. The startup
warning logic was moved out into rabbitmq_prelaunch.

We still have some FHC related metrics that are set to 0
and are kept for compatibility reasons.

Also remove unused rabbit env queue_index_max_journal_entries.
It was introduced to fix a problem in a feature that's no
longer used, so we remove both the feature and code_server_cache.
Requeues are always at the head of the queue because we no
longer page out messages to disk on memory pressure. The head
of the queue is in memory so the code to requeue to disk is
not doing anything and can be safely removed.
@lhoguin lhoguin force-pushed the loic-cq-delivery-count branch from d44ced6 to 3d2a443 Compare November 25, 2025 14:23
@lhoguin lhoguin changed the title DO NOT MERGE CQ: Additional work 4.3: Additional cleanup work in and around CQs Nov 25, 2025
@lhoguin lhoguin marked this pull request as ready for review November 25, 2025 14:24
@michaelklishin michaelklishin added this to the 4.3.0 milestone Nov 25, 2025
@michaelklishin
Copy link
Collaborator

Yay, the file handle cache is no more!

@michaelklishin michaelklishin merged commit b6179d2 into main Nov 25, 2025
575 of 577 checks passed
@michaelklishin michaelklishin deleted the loic-cq-delivery-count branch November 25, 2025 23:19
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.

3 participants