summaryrefslogtreecommitdiffstats
path: root/ml
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2024-01-11 14:17:02 +0200
committerGitHub <noreply@github.com>2024-01-11 14:17:02 +0200
commitbead543ea52e51cf73f7e5b27de53197801399a7 (patch)
treec049d0aaeaf0415fd34e62c0d845caa38b82ead2 /ml
parentdf587c73eda1221c5d133e65fe170a2d301eb236 (diff)
Name storage engine variables consistently. (#16753)
* Consistent naming of STORAGE_INSTANCE instances. Replace usages of `db_instance` and `instance` with `si`. * Rename array `storage_metrics_groups[tier]` to `smg[tier]` * Rename db_metric_handle to smh * Rename instances of `storage_engine_query_handle` to `seqh`. * Rename instances of STORAGE_ENGINE_BACKEND to `seb`. * Rename instances of STORAGE_COLLECT_HANDLE to `sch`.
Diffstat (limited to 'ml')
-rw-r--r--ml/ml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ml/ml.cc b/ml/ml.cc
index 5f8f5033e6..c6d077e289 100644
--- a/ml/ml.cc
+++ b/ml/ml.cc
@@ -358,7 +358,7 @@ ml_dimension_calculated_numbers(ml_training_thread_t *training_thread, ml_dimens
*/
struct storage_engine_query_handle handle;
- storage_engine_query_init(dim->rd->tiers[0].backend, dim->rd->tiers[0].db_metric_handle, &handle,
+ storage_engine_query_init(dim->rd->tiers[0].seb, dim->rd->tiers[0].smh, &handle,
training_response.query_after_t, training_response.query_before_t,
STORAGE_PRIORITY_BEST_EFFORT);