summaryrefslogtreecommitdiffstats
path: root/database/rrd.h
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-09-16 16:00:42 +0300
committerGitHub <noreply@github.com>2023-09-16 16:00:42 +0300
commit11de4e4ab77177bc1a4f9b6358151adf525f2ca0 (patch)
tree96cc31e5e41103e85f7935eb7bb04b571668c246 /database/rrd.h
parent638d9b064d0f7818a3672f26163413efff9f30a3 (diff)
Functions: allow collectors to be restarted (#15983)
Diffstat (limited to 'database/rrd.h')
-rw-r--r--database/rrd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/database/rrd.h b/database/rrd.h
index 9ff838559c..19af417e03 100644
--- a/database/rrd.h
+++ b/database/rrd.h
@@ -931,6 +931,8 @@ typedef enum __attribute__ ((__packed__)) rrdhost_flags {
RRDHOST_FLAG_METADATA_CLAIMID = (1 << 28), // metadata needs to be stored in the database
RRDHOST_FLAG_RRDPUSH_RECEIVER_DISCONNECTED = (1 << 29), // set when the receiver part is disconnected
+
+ RRDHOST_FLAG_GLOBAL_FUNCTIONS_UPDATED = (1 << 30), // set when the host has updated global functions
} RRDHOST_FLAGS;
#define rrdhost_flag_check(host, flag) (__atomic_load_n(&((host)->flags), __ATOMIC_SEQ_CST) & (flag))