Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

fix: mergeSeries() should normalize its inputs + normalize() bugfix + cleanups #1674

Merged
merged 10 commits into from
Feb 13, 2020

Conversation

Dieterbe
Copy link
Contributor

@Dieterbe Dieterbe commented Feb 13, 2020

probably easiest to review commit by commit
in #951 we forgot to add normalization to mergeSeries() to deal with series changing intervals. and also there was a bug in normalize() which is now fixed

I also tested this in docker-dev-custom-cfg-kafka. by using fakemetrics to first send some 1s data and then switching to 4s. before this patch, it would intermittenly error, with this patch, it works fine.

we have this particular map of series slices that we use in many places
that we use for a few very particular use cases.
It went by various name: data, cache, input, ...
Now we make it clear that it's the same everywhere: dataMap
@Dieterbe Dieterbe changed the title fix: mergeSeries() should normalize its inputs + cleanups around dataMap WIP fix: mergeSeries() should normalize its inputs + cleanups around dataMap Feb 13, 2020
@Dieterbe Dieterbe changed the title WIP fix: mergeSeries() should normalize its inputs + cleanups around dataMap fix: mergeSeries() should normalize its inputs + cleanups around dataMap Feb 13, 2020
where a lower-resolution final point may lead to a consolidated point
to be higher than what canonical last point would be
@Dieterbe Dieterbe changed the title fix: mergeSeries() should normalize its inputs + cleanups around dataMap fix: mergeSeries() should normalize its inputs + normalize() bugfix + cleanups Feb 13, 2020
@Dieterbe Dieterbe merged commit a3706f6 into master Feb 13, 2020
@Dieterbe Dieterbe deleted the mergeSeries-runtime-normalize branch February 13, 2020 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant