diff --git a/src/database/sqlite/sqlite_aclk_alert.c b/src/database/sqlite/sqlite_aclk_alert.c index 803f6396c1013d..4aa640484ca27e 100644 --- a/src/database/sqlite/sqlite_aclk_alert.c +++ b/src/database/sqlite/sqlite_aclk_alert.c @@ -787,6 +787,16 @@ static uint64_t calculate_node_alert_version(RRDHOST *host) static void schedule_alert_snapshot_if_needed(struct aclk_sync_cfg_t *wc, uint64_t cloud_version) { + if (cloud_version == 1) { + nd_log( + NDLS_ACCESS, + NDLP_NOTICE, + "Cloud requested to skip alert version verification for host \"%s\", node \"%s\"", + rrdhost_hostname(wc->host), + wc->node_id); + return; + } + uint64_t local_version = calculate_node_alert_version(wc->host); if (local_version != cloud_version) { nd_log(