From af1badd3cdb78b6aaa807a3a6a78acd0b939e0e8 Mon Sep 17 00:00:00 2001 From: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> Date: Tue, 2 Aug 2022 17:17:13 +0300 Subject: Remove the single threaded arrayallocator optiomization during agent startup (#13473) Needs multithreading if data rotation needs to happen during startup --- database/rrdhost.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'database') diff --git a/database/rrdhost.c b/database/rrdhost.c index ec1d450d88..19997af3be 100644 --- a/database/rrdhost.c +++ b/database/rrdhost.c @@ -804,8 +804,6 @@ int rrd_init(char *hostname, struct rrdhost_system_info *system_info) { else rrdeng_page_descr_use_malloc(); - rrdeng_page_descr_aral_go_singlethreaded(); - int created_tiers = 0; char dbenginepath[FILENAME_MAX + 1]; char dbengineconfig[200 + 1]; @@ -881,7 +879,6 @@ int rrd_init(char *hostname, struct rrdhost_system_info *system_info) { else if(!created_tiers) fatal("DBENGINE on '%s', failed to initialize databases at '%s'.", hostname, netdata_configured_cache_dir); - rrdeng_page_descr_aral_go_multithreaded(); #else storage_tiers = config_get_number(CONFIG_SECTION_DB, "storage tiers", 1); if(storage_tiers != 1) { -- cgit v1.2.3