Skip to content

Conversation

@stelfrag
Copy link
Collaborator

@stelfrag stelfrag commented Jul 17, 2025

Summary
  • Remove service (MAINTENANCE) thread
    • Use the metadata event loop to perform maintenance tasks. This will reduce contention and crashes

Remove service (MAINTENANCE) thread
@stelfrag stelfrag force-pushed the rework_service_thread branch from db95302 to 59af771 Compare October 16, 2025 08:12
@stelfrag stelfrag marked this pull request as ready for review October 16, 2025 08:15
Copy link
Contributor

@thiagoftsm thiagoftsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues were found when running this PR both inside and outside of GDB. Looks good to me!

@stelfrag stelfrag merged commit ef816f8 into netdata:master Oct 16, 2025
116 checks passed
@stelfrag stelfrag deleted the rework_service_thread branch October 16, 2025 15:33
stelfrag added a commit to stelfrag/netdata that referenced this pull request Oct 27, 2025
* Call maintenance functions from metadata event loop
Remove service (MAINTENANCE) thread

* run_maintenace every 10 seconds

(cherry picked from commit ef816f8)
@stelfrag stelfrag mentioned this pull request Oct 27, 2025
Ferroin pushed a commit that referenced this pull request Oct 28, 2025
* Call maintenance functions from metadata event loop
Remove service (MAINTENANCE) thread

* run_maintenace every 10 seconds

(cherry picked from commit ef816f8)
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