Skip to content

Move file_handle_cache and vm_memory_monitor back to rabbit #13861

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

dumbbell
Copy link
Collaborator

@dumbbell dumbbell commented May 6, 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.

@dumbbell dumbbell self-assigned this May 6, 2025
@mergify mergify bot added the make label May 6, 2025
@dumbbell dumbbell force-pushed the move-os_mon-users-back-to-rabbit branch from 7679c8d to 0dc6365 Compare May 6, 2025 15:12
[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.
@dumbbell dumbbell force-pushed the move-os_mon-users-back-to-rabbit branch from 0dc6365 to e58eb18 Compare May 7, 2025 07:47
@dumbbell dumbbell marked this pull request as ready for review May 7, 2025 09:09
@dumbbell dumbbell requested a review from michaelklishin May 7, 2025 09:09
@michaelklishin michaelklishin added this to the 4.2.0 milestone May 7, 2025
@michaelklishin michaelklishin merged commit f50a8d3 into main May 7, 2025
273 checks passed
@michaelklishin michaelklishin deleted the move-os_mon-users-back-to-rabbit branch May 7, 2025 17:59
michaelklishin added a commit that referenced this pull request May 7, 2025
Move `file_handle_cache` and `vm_memory_monitor` back to `rabbit` (backport #13861)
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants