mirror of
https://github.com/netdata/netdata.git
synced 2025-04-23 13:00:23 +00:00
fix memory corruption in streaming (#19805)
This commit is contained in:
parent
149434ad84
commit
48a12f6f51
2 changed files with 2 additions and 0 deletions
src/streaming
|
@ -1055,6 +1055,7 @@ void stream_receiver_replication_check_from_poll(struct stream_thread *sth, usec
|
|||
__atomic_load_n(&host->stream.rcv.status.replication.counter_in, __ATOMIC_RELAXED));
|
||||
|
||||
stream_receiver_remove(sth, rpt, STREAM_HANDSHAKE_DISCONNECT_REPLICATION_STALLED);
|
||||
continue;
|
||||
}
|
||||
|
||||
rpt->replication.last_checked_ut = rpt->replication.last_progress_ut;
|
||||
|
|
|
@ -630,6 +630,7 @@ void stream_sender_replication_check_from_poll(struct stream_thread *sth, usec_t
|
|||
__atomic_load_n(&host->stream.snd.status.replication.counter_out, __ATOMIC_RELAXED));
|
||||
|
||||
stream_sender_move_running_to_connector_or_remove(sth, s, STREAM_HANDSHAKE_DISCONNECT_REPLICATION_STALLED, 0, true);
|
||||
continue;
|
||||
}
|
||||
|
||||
s->replication.last_checked_ut = s->replication.last_progress_ut;
|
||||
|
|
Loading…
Add table
Reference in a new issue