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 most of the fd related FHC code #11436

Merged
merged 7 commits into from
Jun 26, 2024
Merged

Remove most of the fd related FHC code #11436

merged 7 commits into from
Jun 26, 2024

Conversation

lhoguin
Copy link
Contributor

@lhoguin lhoguin commented Jun 12, 2024

Stats were not removed YET, including management UI stats relating to FDs.

Web-MQTT and Web-STOMP configuration relating to FHC were not removed.

The file_handle_cache itself must be kept until we remove CQv1.

@michaelklishin

This comment was marked as outdated.

@lhoguin

This comment was marked as outdated.

@essen essen force-pushed the loic-remove-fhc branch 5 times, most recently from 85475a6 to 7ca27e2 Compare June 13, 2024 12:02
@lhoguin
Copy link
Contributor Author

lhoguin commented Jun 14, 2024

Next steps are:

I will remove the file_handle_cache_stats module in a separate PR and replace it with a CQv2-specific stats module. won't do as the stats module is not considered useful; it was therefore removed though stats are still around but zeroed

@essen essen force-pushed the loic-remove-fhc branch 2 times, most recently from 085d220 to 6ab94d3 Compare June 24, 2024 10:06
@lhoguin
Copy link
Contributor Author

lhoguin commented Jun 24, 2024

Rebased, and sent a PR to the few clients noted previously.

This can be merged when green.

Stats were not removed, including management UI stats
relating to FDs.

Web-MQTT and Web-STOMP configuration relating to FHC
were not removed.

The file_handle_cache itself must be kept until we
remove CQv1.
Part of the removal of file_handle_cache.

The Prometheus endpoint was updated but the Grafana dashboard
was not.

The FD stats are using the system's state rather than
file_handle_cache so there's no need to remove them.
They are no longer used.

This removes a couple file_handle_cache:info/1 calls.

We are not removing them from the HTTP API to avoid
breaking things unintentionally.
The stats were not removed from management agent, instead
they are hardcoded to zero in the agent itself.
The message has been tweaked; it isn't about FHC
or queues but about system limits only. The
ulimit() function can later be moved out of
FHC when FHC gets fully removed.
The FD limits are still valuable.

The FD used will still show some information during CQv1
upgrade to v2 so it is kept for now. But in the future
it will have to be reworked to query the system, or be
removed.
@lhoguin lhoguin marked this pull request as ready for review June 24, 2024 10:08
@michaelklishin michaelklishin added this to the 4.0.0 milestone Jun 26, 2024
@michaelklishin michaelklishin merged commit 0838008 into main Jun 26, 2024
302 checks passed
@michaelklishin michaelklishin deleted the loic-remove-fhc branch June 26, 2024 19: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.

2 participants