@cryptotaxi247 / netdata-1 / commits / c8e772db3

Reset backfill requests on child reconnect (#21315)

Reset backfill_pending counter on stream receiver reconnect

Stelios Fragkakis committed Nov 18, 2025 at 20:53 UTC c8e772db3912170fe775d3effca595daa9ba72a5
1 file changed +1
src/streaming/stream-receiver.c
+1
@@ -1073,6 +1073,7 @@ static void stream_receiver_replication_reset(RRDHOST *host) {
1073
1074 __atomic_store_n(&host->stream.rcv.status.replication.counter_in, 0, __ATOMIC_RELAXED);
1075 __atomic_store_n(&host->stream.rcv.status.replication.counter_out, 0, __ATOMIC_RELAXED);
1076 + __atomic_store_n(&host->stream.rcv.status.replication.backfill_pending, 0, __ATOMIC_RELAXED);
1077 }
1078
1079 bool rrdhost_set_receiver(RRDHOST *host, struct receiver_state *rpt) {