From 7a21b966381022b9dbb15d4377fb09b82d1f6067 Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Thu, 26 Jan 2023 00:55:38 +0200 Subject: 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> --- streaming/replication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'streaming/replication.h') 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); -- cgit v1.2.3