diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-06-29 19:24:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 19:24:08 +0300 |
commit | 2fc0aaca9a27520c874756b16d95794457ed6ac9 (patch) | |
tree | 3a46c4b1abbe0ede6c88a506aa01d229ad146f54 /database/ram | |
parent | f5a49bd9ab48b0e5569165cb7f6dcb5362048bd6 (diff) |
Query engine with natural and virtual points (#13248)
* new query engine
* use Index
* Revert change that changed in-memory page indexing to start time - update_every + 1
* use internal_error() to cleanup the code
* interpolates values when generating points
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Diffstat (limited to 'database/ram')
-rw-r--r-- | database/ram/rrddim_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/ram/rrddim_mem.c b/database/ram/rrddim_mem.c index e85f696e0c..606a45773c 100644 --- a/database/ram/rrddim_mem.c +++ b/database/ram/rrddim_mem.c @@ -34,7 +34,7 @@ void rrddim_query_init(RRDDIM *rd, struct rrddim_query_handle *handle, time_t st h->slot_timestamp = rrdset_slot2time(rd->rrdset, h->slot); h->last_timestamp = rrdset_slot2time(rd->rrdset, h->last_slot); - // info("QUERY: start %ld, end %ld, next %ld, first %ld, last %ld", start_time, end_time, h->next_timestamp, h->slot_timestamp, h->last_timestamp); + // info("RRDDIM QUERY INIT: start %ld, end %ld, next %ld, first %ld, last %ld, dt %ld", start_time, end_time, h->next_timestamp, h->slot_timestamp, h->last_timestamp, h->dt); handle->handle = (STORAGE_QUERY_HANDLE *)h; } |