diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-01-18 21:32:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 21:32:50 +0200 |
commit | c1908d3163185cf65a139edeb11a165a10eca1e9 (patch) | |
tree | 6fe69ef8cd5f5797253e0d583fe60d56c69ec3da /database/engine/rrdengine.h | |
parent | 51565d55e92b6f814a09ca87d3c77a40acba576c (diff) |
DBENGINE v2 - improvements part 5 (#14289)
* cleanup journal v2 mounts periodically
* fix for last commit
* re-enable loading page from disk when the arrangement of pages requires it
* Remove unused statistics
* Estimate diskspace when the current datafile is full and queue a rotate command (Currently it will not attempt to estimate end size for journals)
Queue a command to check quota on startup per tier
* apps.plugin now exposes RSS chart
* shorter thread names to make debugging easier, since thread names can only be 15 characters
* more thread names fixes
* allow an apps_groups.conf target to be pid 0 or 1
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Diffstat (limited to 'database/engine/rrdengine.h')
-rw-r--r-- | database/engine/rrdengine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/engine/rrdengine.h b/database/engine/rrdengine.h index 5da78108e0..df77b018a9 100644 --- a/database/engine/rrdengine.h +++ b/database/engine/rrdengine.h @@ -378,7 +378,6 @@ struct rrdengine_instance { int tier; unsigned last_fileno; /* newest index of datafile and journalfile */ unsigned last_flush_fileno; - unsigned long metric_API_max_producers; bool create_new_datafile_pair; uint8_t quiesce; /* set to SET_QUIESCE before shutdown of the engine */ @@ -398,6 +397,7 @@ void dbengine_page_free(void *page, size_t size); void *dbengine_extent_alloc(size_t size); void dbengine_extent_free(void *extent, size_t size); +bool rrdeng_ctx_exceeded_disk_quota(struct rrdengine_instance *ctx); int init_rrd_files(struct rrdengine_instance *ctx); void finalize_rrd_files(struct rrdengine_instance *ctx); bool rrdeng_dbengine_spawn(struct rrdengine_instance *ctx); |