diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-11-09 20:43:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 20:43:52 +0200 |
commit | 96ba2dadb48439e667c62b721a6d8c41a92a5187 (patch) | |
tree | c45ae146c1c1a55d3d63981ab04dcbefaf1c09b9 /database | |
parent | 4b39609c35fceae5374fd051c0b987eb708312f6 (diff) |
break active-active loop from replicating non-existing child to each other (#13968)
break active-active loop from replicating non-existing child to each-other
Diffstat (limited to 'database')
-rw-r--r-- | database/rrd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/database/rrd.h b/database/rrd.h index 234fe5fda3..0069715b90 100644 --- a/database/rrd.h +++ b/database/rrd.h @@ -731,6 +731,8 @@ typedef enum rrdhost_flags { RRDHOST_FLAG_ACLK_STREAM_CONTEXTS = (1 << 24), // when set, we should send ACLK stream context updates // Metadata RRDHOST_FLAG_METADATA_UPDATE = (1 << 25), // metadata needs to be stored in the database + + RRDHOST_FLAG_RRDPUSH_RECEIVER_DISCONNECTED = ( 1 << 26), // set when the receiver part is disconnected } RRDHOST_FLAGS; #define rrdhost_flag_check(host, flag) (__atomic_load_n(&((host)->flags), __ATOMIC_SEQ_CST) & (flag)) |