diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-11-22 22:42:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 22:42:16 +0200 |
commit | 4e61a4244e2ab45c29de0ddd84bfec8d9339f388 (patch) | |
tree | 4882db8ee7bd9de3251960320c7f553edc52b6c9 /streaming/replication.h | |
parent | 77a304f52e4c6aadef0eac06b4869b7e1c829175 (diff) |
Replication fixes #3 (#14035)
* cleanup and additional information about replication
* fix deadlock on sender mutex
* do not ignore start streaming empty requests; when there duplicate requests, merge them
* flipped the flag
* final touch
* added queued flag on the charts to prevent them from being obsoleted by the service thread
Diffstat (limited to 'streaming/replication.h')
-rw-r--r-- | streaming/replication.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/replication.h b/streaming/replication.h index 7542e43d08..dde3cc1a96 100644 --- a/streaming/replication.h +++ b/streaming/replication.h @@ -16,7 +16,7 @@ bool replicate_chart_request(send_command callback, void *callback_data, void replication_init_sender(struct sender_state *sender); void replication_cleanup_sender(struct sender_state *sender); -void replication_flush_sender(struct sender_state *sender); +void replication_sender_delete_pending_requests(struct sender_state *sender); void replication_add_request(struct sender_state *sender, const char *chart_id, time_t after, time_t before, bool start_streaming); void replication_recalculate_buffer_used_ratio_unsafe(struct sender_state *s); |