Skip to content

Move file_handle_cache and vm_memory_monitor back to rabbit (backport #13861) #13867

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 1 commit into from
May 7, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented May 7, 2025

Why

They were moved from rabbit to rabbit_common several years ago to solve an dependency issue because amqp_client depended on the file handle cache. This is not the case anymore.

How

The modules are moved back to rabbit.

rabbit_common doesn't need to depend on os_mon anymore. rabbit already depends on it, so no changes needed here.

References #13861.


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

[Why]
They were moved from `rabbit` to `rabbit_common` several years ago to
solve an dependency issue because `amqp_client` depended on the file
handle cache. This is not the case anymore.

[How]
The modules are moved back to `rabbit`.

`rabbit_common` doesn't need to depend on `os_mon` anymore. `rabbit`
already depends on it, so no changes needed here.

`include/rabbit_memory.hrl` and some test cases are moved as well to
follow the `vm_memory_monitor` module.

(cherry picked from commit e58eb18)
@mergify mergify bot added the make label May 7, 2025
@michaelklishin michaelklishin added this to the 4.1.1 milestone May 7, 2025
@michaelklishin michaelklishin merged commit f806766 into v4.1.x May 7, 2025
273 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13861 branch May 7, 2025 19:43
michaelklishin added a commit that referenced this pull request May 8, 2025
Move `file_handle_cache` and `vm_memory_monitor` back to `rabbit` (backport #13861)

(cherry picked from commit f806766)
(cherry picked from commit e990a0072bfa8db371bae558e1e9a61d5a130eb1)
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.

2 participants