summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2020-11-24 20:00:02 +0200
committerGitHub <noreply@github.com>2020-11-24 20:00:02 +0200
commite9d59e37d98db379fcbeeffeb6046af0f9cb2d2f (patch)
treec3021cf3e74efe8c47f63a39ad581347604bc404 /daemon
parentab3b4c6ff82f2cbbcaf5816b9d599abce5ac2160 (diff)
Migrate metadata log to SQLite (#10139)
Diffstat (limited to 'daemon')
-rw-r--r--daemon/common.h4
-rw-r--r--daemon/main.c10
2 files changed, 0 insertions, 14 deletions
diff --git a/daemon/common.h b/daemon/common.h
index b101afc97b..7a55022bb1 100644
--- a/daemon/common.h
+++ b/daemon/common.h
@@ -73,10 +73,6 @@
// netdata agent spawn server
#include "spawn/spawn.h"
-#ifdef ENABLE_DBENGINE
-#include "database/engine/global_uuid_map/global_uuid_map.h"
-#endif
-
// the netdata deamon
#include "daemon.h"
#include "main.h"
diff --git a/daemon/main.c b/daemon/main.c
index ee45e6b3a4..7c002ac47b 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -61,9 +61,6 @@ void netdata_cleanup_and_exit(int ret) {
#ifdef ENABLE_HTTPS
security_clean_openssl();
#endif
-#ifdef ENABLE_DBENGINE
- free_global_guid_map();
-#endif
info("EXIT: all done - netdata is now exiting - bye bye...");
exit(ret);
}
@@ -1451,9 +1448,6 @@ int main(int argc, char **argv) {
struct rrdhost_system_info *system_info = calloc(1, sizeof(struct rrdhost_system_info));
get_system_info(system_info);
-#ifdef ENABLE_DBENGINE
- init_global_guid_map();
-#endif
if(rrd_init(netdata_configured_hostname, system_info))
fatal("Cannot initialize localhost instance with name '%s'.", netdata_configured_hostname);
@@ -1471,10 +1465,6 @@ int main(int argc, char **argv) {
// Load host labels
reload_host_labels();
-#ifdef ENABLE_DBENGINE
- if (localhost->rrd_memory_mode == RRD_MEMORY_MODE_DBENGINE)
- metalog_commit_update_host(localhost);
-#endif
// ------------------------------------------------------------------------
// spawn the threads