summaryrefslogtreecommitdiffstats
path: root/streaming/replication.h
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-01-26 00:55:38 +0200
committerGitHub <noreply@github.com>2023-01-26 00:55:38 +0200
commit7a21b966381022b9dbb15d4377fb09b82d1f6067 (patch)
tree0aabb02c74b2611a5872dd05dba089bb7dc19f06 /streaming/replication.h
parent3e3ff4bee83363dca7cfb838baf1cf316960ed1b (diff)
DBENGINE v2 - improvements part 9 (#14326)
* on shutdown stop data collection for all hosts instead of freeing their memory * print number of sql statements per metadata host scan * print timings with metadata checking * use dbengine API to figure out of a database is legacy * Recalculate retention after a datafile deletion * validate child timestamps during replication * main cache uses a lockless aral per partition, protected by the partition index lock * prevent ML crash * Revert "main cache uses a lockless aral per partition, protected by the partition index lock" This reverts commit 6afc01527dc5c66548b4bc8a1d63c026c3149358. * Log direct index and binary searches * distribute metrics more evenly across time * statistics about retention recalculation * fix crash * Reverse the binary search to calculate retention * more optimization on retention calculation * removed commented old code Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Diffstat (limited to 'streaming/replication.h')
-rw-r--r--streaming/replication.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/replication.h b/streaming/replication.h
index e6bedc83bb..f5b64706c8 100644
--- a/streaming/replication.h
+++ b/streaming/replication.h
@@ -21,7 +21,7 @@ typedef int (*send_command)(const char *txt, void *data);
bool replicate_chart_request(send_command callback, void *callback_data,
RRDHOST *rh, RRDSET *rs,
- time_t first_entry_child, time_t last_entry_child, time_t child_world_time,
+ time_t child_first_entry, time_t child_last_entry, time_t child_wall_clock_time,
time_t response_first_start_time, time_t response_last_end_time);
void replication_init_sender(struct sender_state *sender);