Fix chart synchronization with the cloud #12356
Stelios Fragkakis committed
Mar 10, 2022 at 12:52 UTC
d5baf4ca55c0fc948284723df53575522b139538
1 file changed
+1
-1
database/rrdset.c
+1
-1
@@ -1400,7 +1400,7 @@ void rrdset_done(RRDSET *st) {
1400
#ifdef ENABLE_ACLK
1401
if (likely(!st->state->is_ar_chart)) {
1402
if (unlikely(!rrdset_flag_check(st, RRDSET_FLAG_ACLK))) {
1403
- if (likely(st->dimensions && !queue_chart_to_aclk(st)))
1403
+ if (likely(st->dimensions && st->counter_done && !queue_chart_to_aclk(st)))
1404
rrdset_flag_set(st, RRDSET_FLAG_ACLK);
1405
}
1406
}