diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-07-18 10:39:39 +0300 |
---|---|---|
committer | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-07-18 10:39:39 +0300 |
commit | a64302ec4269f09d0480061de1113c65b30ae1fa (patch) | |
tree | 087749ca5381e97aee41b9d143daa78feef7f91a | |
parent | 88e2c981f83d4a4cd42db6d26708bf95f54aa54f (diff) |
Use the localhost claim id
-rw-r--r-- | database/rrdcontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/rrdcontext.c b/database/rrdcontext.c index 7928099103..282d398d98 100644 --- a/database/rrdcontext.c +++ b/database/rrdcontext.c @@ -1803,7 +1803,7 @@ void rrdcontext_hub_checkpoint_command(void *ptr) { // prepare the snapshot char uuid[UUID_STR_LEN]; uuid_unparse_lower(*host->node_id, uuid); - contexts_snapshot_t bundle = contexts_snapshot_new(host->aclk_state.claimed_id, uuid, our_version_hash); + contexts_snapshot_t bundle = contexts_snapshot_new(cmd->claim_id, uuid, our_version_hash); // do a deep scan on every metric of the host to make sure all our data are updated rrdcontext_recalculate_host_retention(host, RRD_FLAG_NONE, -1); |