@cryptotaxi247 / netdata-1 / commits / af1badd3c

Remove the single threaded arrayallocator optiomization during agent startup (#13473)

Needs multithreading if data rotation needs to happen during startup

Stelios Fragkakis committed Aug 2, 2022 at 17:17 UTC af1badd3cdb78b6aaa807a3a6a78acd0b939e0e8
1 file changed -3
database/rrdhost.c
-3
@@ -804,8 +804,6 @@ int rrd_init(char *hostname, struct rrdhost_system_info *system_info) {
804 else
805 rrdeng_page_descr_use_malloc();
806
807 - rrdeng_page_descr_aral_go_singlethreaded();
808 -
807 int created_tiers = 0;
808 char dbenginepath[FILENAME_MAX + 1];
809 char dbengineconfig[200 + 1];
@@ -881,7 +879,6 @@ int rrd_init(char *hostname, struct rrdhost_system_info *system_info) {
879 else if(!created_tiers)
880 fatal("DBENGINE on '%s', failed to initialize databases at '%s'.", hostname, netdata_configured_cache_dir);
881
884 - rrdeng_page_descr_aral_go_multithreaded();
882 #else
883 storage_tiers = config_get_number(CONFIG_SECTION_DB, "storage tiers", 1);
884 if(storage_tiers != 1) {