diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-05-19 12:33:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-05-19 12:33:59 +0000 |
commit | 1ee0c09c5742557e037df5421ca62abddb90ae22 (patch) | |
tree | 71c0fa48bb6d31d036c9badd7e038527f90d1a73 /claim/claim.c | |
parent | Releasing debian version 1.30.1-1. (diff) | |
download | netdata-1ee0c09c5742557e037df5421ca62abddb90ae22.tar.xz netdata-1ee0c09c5742557e037df5421ca62abddb90ae22.zip |
Merging upstream version 1.31.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'claim/claim.c')
-rw-r--r-- | claim/claim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/claim/claim.c b/claim/claim.c index 9a3660f9..ce3f0803 100644 --- a/claim/claim.c +++ b/claim/claim.c @@ -164,6 +164,10 @@ void load_claiming_state(void) claimed_id = NULL; } localhost->aclk_state.claimed_id = claimed_id; + + invalidate_node_instances(&localhost->host_uuid, claimed_id ? &uuid : NULL); + store_claim_id(&localhost->host_uuid, claimed_id ? &uuid : NULL); + rrdhost_aclk_state_unlock(localhost); if (!claimed_id) { info("Unable to load '%s', setting state to AGENT_UNCLAIMED", filename); |