Thanks to visit codestin.com
Credit goes to github.com

Skip to content

status file 24 #19996

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 11 commits into from
Mar 30, 2025
Merged

status file 24 #19996

merged 11 commits into from
Mar 30, 2025

Conversation

ktsaou
Copy link
Member

@ktsaou ktsaou commented Mar 30, 2025

  • prevent crash when sqlite has null uuid
  • deduplication hashes are now maintained on a separate file, which is loaded and saved every time (in binary form - no json - so that it is signal-async-safe).

@ktsaou ktsaou requested a review from a team as a code owner March 30, 2025 11:44
@github-actions github-actions bot added the area/build Build system (autotools and cmake). label Mar 30, 2025
@ktsaou ktsaou changed the title prevent crash when sqlite has null uuid status file 24 Mar 30, 2025
@ktsaou ktsaou merged commit 39339bf into netdata:master Mar 30, 2025
85 of 90 checks passed
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Mar 31, 2025
* prevent crash when sqlite has null uuid

* simplify parsing rfc3339 timestamps

* prepare for separating dedup from status file

* split status file dedup to a separate file - no code changes

* split status-file-io

* save deduplication hashes to a separate file

* keep a hash of the deduplication slots, to ensure the file cannot be tampered

* added machine guid timestamp to status file

* do not sent zero machine guid timestamp

* check for NULL rd on retention

* fix worker_job_id parsing

(cherry picked from commit 39339bf)
@stelfrag stelfrag mentioned this pull request Mar 31, 2025
Ferroin pushed a commit that referenced this pull request Apr 2, 2025
* prevent crash when sqlite has null uuid

* simplify parsing rfc3339 timestamps

* prepare for separating dedup from status file

* split status file dedup to a separate file - no code changes

* split status-file-io

* save deduplication hashes to a separate file

* keep a hash of the deduplication slots, to ensure the file cannot be tampered

* added machine guid timestamp to status file

* do not sent zero machine guid timestamp

* check for NULL rd on retention

* fix worker_job_id parsing

(cherry picked from commit 39339bf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build system (autotools and cmake). area/daemon area/database
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants