This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
Importer schema conversion logic should be smarter when converting between combos of intervals that are not cleanly divisible #1609
Labels
Currently when the schema conversion logic converts from a schema combination where multiple input archives have a long enough retention to cover the retention of the output archive, then it will choose to use the one which has the largest retention and also has an interval which is lower or equal to the one of the output archive.
This choice may not be optimal if the interval of the output archive is not cleanly divisible by the interval of the chosen input archive, while actually there are also other input archives available which could cover the desired retention and which have an interval that cleanly divides the output interval.
Example
The current logic would chose the src archive
3h:3y
as input to generate the archive4h:1y
, but the result would be more accurate if it would use1h:2y
because4h
is cleanly divisible by1h
.The text was updated successfully, but these errors were encountered: