diff options
author | vkalintiris <vasilis@netdata.cloud> | 2023-08-03 13:13:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 13:13:36 +0300 |
commit | 0e230a260ec7d8b4d6dc5c7165da6ab103d096b3 (patch) | |
tree | b46528e5ace00358c342ea3d571d85bda5c546ed /database/engine/pdc.c | |
parent | 72549b3a2247f763180925d7c84b0eee8086fa14 (diff) |
Revert "Refactor RRD code. (#15423)" (#15723)
This reverts commit 440bd51e08fdfa2a4daa191fb68643456028a753.
dbengine was still being used for non-zero tiers
even on non-dbengine modes.
Diffstat (limited to 'database/engine/pdc.c')
-rw-r--r-- | database/engine/pdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database/engine/pdc.c b/database/engine/pdc.c index f7ce8288d2..7da5687874 100644 --- a/database/engine/pdc.c +++ b/database/engine/pdc.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later - +#define NETDATA_RRD_INTERNALS #include "pdc.h" struct extent_page_details_list { @@ -667,7 +667,7 @@ VALIDATED_PAGE_DESCRIPTOR validate_page( }; // always calculate entries by size - vd.point_size = rrdb.page_type_size[vd.type]; + vd.point_size = page_type_size[vd.type]; vd.entries = page_entries_by_size(vd.page_length, vd.point_size); // allow to be called without entries (when loading pages from disk) |