summaryrefslogtreecommitdiffstats
path: root/streaming/rrdpush.h
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2023-08-03 13:13:36 +0300
committerGitHub <noreply@github.com>2023-08-03 13:13:36 +0300
commit0e230a260ec7d8b4d6dc5c7165da6ab103d096b3 (patch)
treeb46528e5ace00358c342ea3d571d85bda5c546ed /streaming/rrdpush.h
parent72549b3a2247f763180925d7c84b0eee8086fa14 (diff)
Revert "Refactor RRD code. (#15423)" (#15723)
This reverts commit 440bd51e08fdfa2a4daa191fb68643456028a753. dbengine was still being used for non-zero tiers even on non-dbengine modes.
Diffstat (limited to 'streaming/rrdpush.h')
-rw-r--r--streaming/rrdpush.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/streaming/rrdpush.h b/streaming/rrdpush.h
index f42f2487c7..73bd438c9d 100644
--- a/streaming/rrdpush.h
+++ b/streaming/rrdpush.h
@@ -395,7 +395,7 @@ struct receiver_state {
} exit;
struct {
- STORAGE_ENGINE_ID storage_engine_id;
+ RRD_MEMORY_MODE mode;
int history;
int update_every;
int health_enabled; // CONFIG_BOOLEAN_YES, CONFIG_BOOLEAN_NO, CONFIG_BOOLEAN_AUTO
@@ -696,7 +696,7 @@ typedef struct rrdhost_status {
struct {
RRDHOST_DB_STATUS status;
RRDHOST_DB_LIVENESS liveness;
- STORAGE_ENGINE_ID storage_engine_id;
+ RRD_MEMORY_MODE mode;
time_t first_time_s;
time_t last_time_s;
size_t metrics;