diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-01-19 19:52:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:52:50 +0200 |
commit | 6600f33247368f0b124351abe5e9acf6e49c8cd2 (patch) | |
tree | a75d98febd6714132f5b1bbc2addbd8b400cae3c /database | |
parent | c5eb91bad10ea8079c6fa630de54b38762abebaf (diff) |
Handle re-claim while the agent is running in new architecture (#11924)
* re-connect when re-claiming
* send the previous claim_id when disconnecting
* use same block for aclk_kill_link
* free prev_claimed_id
Diffstat (limited to 'database')
-rw-r--r-- | database/rrdhost.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/database/rrdhost.c b/database/rrdhost.c index 09db807588..79e283a631 100644 --- a/database/rrdhost.c +++ b/database/rrdhost.c @@ -954,6 +954,7 @@ void rrdhost_free(RRDHOST *host) { pthread_mutex_destroy(&host->aclk_state_lock); freez(host->aclk_state.claimed_id); + freez(host->aclk_state.prev_claimed_id); freez((void *)host->tags); free_label_list(host->labels.head); freez((void *)host->os); |