Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
vkalintiris committed Apr 19, 2024
1 parent bad3bf6 commit 2a3f92c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/database/engine/journalfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ static bool journalfile_v2_mounted_data_unmount(struct rrdengine_journalfile *jo
}

void journalfile_v2_data_unmount_cleanup(time_t now_s) {
return;
// DO NOT WAIT ON ANY LOCK!!!

for(size_t tier = 0; tier < (size_t)storage_tiers ;tier++) {
Expand Down
2 changes: 2 additions & 0 deletions src/database/engine/rrdengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,7 @@ static void *cleanup_tp_worker(struct rrdengine_instance *ctx __maybe_unused, vo
wal_cleanup1();
extent_buffer_cleanup1();

#ifdef COMPILED_FOR_FOREIGN_OS
{
static time_t last_run_s = 0;
time_t now_s = now_monotonic_sec();
Expand All @@ -1585,6 +1586,7 @@ static void *cleanup_tp_worker(struct rrdengine_instance *ctx __maybe_unused, vo
journalfile_v2_data_unmount_cleanup(now_s);
}
}
#endif

#ifdef PDC_USE_JULYL
julyl_cleanup1();
Expand Down

0 comments on commit 2a3f92c

Please sign in to comment.