summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2023-06-19 15:24:36 +0300
committerGitHub <noreply@github.com>2023-06-19 15:24:36 +0300
commitc76538e2f0ef4450e7c5f12b44f620d74fdcde47 (patch)
treed63dc35f6e16add9e8412f45ae725e98e863e214 /database
parente12b0d8aba023dced9f17d05d60cde440546a59a (diff)
Add two functions that allow someone to start/stop ML. (#15185)
* Add two functions that allow someone to start/stop ML. * Shutdown ML after stopping collector services * Remove unnecessary mutex from ml charts. There's already a spinlock that protects the chart when a someone calls rrdset_done(). * Use a lightweight spinlock instead of a mutext for ML dimensions.
Diffstat (limited to 'database')
-rw-r--r--database/sqlite/sqlite_metadata.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/database/sqlite/sqlite_metadata.c b/database/sqlite/sqlite_metadata.c
index 607d789a58..4f115c7d81 100644
--- a/database/sqlite/sqlite_metadata.c
+++ b/database/sqlite/sqlite_metadata.c
@@ -1485,7 +1485,6 @@ static inline void queue_metadata_cmd(enum metadata_opcode opcode, const void *p
cmd.param[1] = param1;
cmd.completion = NULL;
metadata_enq_cmd(&metasync_worker, &cmd);
-
}
// Public