diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-08-02 17:17:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 17:17:13 +0300 |
commit | af1badd3cdb78b6aaa807a3a6a78acd0b939e0e8 (patch) | |
tree | 4b9dbb285131dcd003eb3b4bd5f5a4818be8909f | |
parent | e22dff4b1f3eda456410bcadd99f0a48a6adae18 (diff) |
Remove the single threaded arrayallocator optiomization during agent startup (#13473)
Needs multithreading if data rotation needs to happen during startup
-rw-r--r-- | database/rrdhost.c | 3 |
1 files changed, 0 insertions, 3 deletions
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) { |