VictoriaMetrics/docs/changelog
rtm0 eef6943084
lib/storage: properly register index records with RegisterMetricNames
Once the timeseries is in tsidCache, new entries won't be created in
per-day index because the RegisterMetricNames() code does consider
different dates for the same timeseries. So this case has been added.

The same bug exists for AddRows() but it is not manifested because the
index entries are finally created in updatePerDateData().

RegisterMetricNames also updated to increase the newTimeseriesCreated
counter because it actually creates new time series in index.

A unit tests has been added that check all possible data patterns
(different metric names and dates) and code branches in both
RegisterMetricNames and AddRows. The total number of new unit tests is
around 100 which increaded the running time of storage tests by 50%. 

---------

Signed-off-by: Artem Fetishev <wwctrsrx@gmail.com>
Co-authored-by: Roman Khavronenko <hagen1778@gmail.com>
2024-08-27 21:33:53 +02:00
..
_index.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG_2020.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG_2021.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG_2022.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG_2023.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG.md lib/storage: properly register index records with RegisterMetricNames 2024-08-27 21:33:53 +02:00