Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dont merge missed series if there is no overlap or has more points #5809

Closed
wants to merge 3 commits into from

Conversation

nityanandagohain
Copy link
Member

@nityanandagohain nityanandagohain commented Aug 30, 2024

Fixes #5808

dont merge missed series if there is no overlap or has more points

Cases

  • If the start or end of the cached series lies in the missed series then merge.
  • If not then replace it with the missed series.

what happened previously

timerange :- t1 - t5

time :- t1 - t2 - t3 - t4 - t5

t1 - t2 = cache miss = actual query
t4 - t5 = cache miss = actual query

t2 - t4

cachedSeries = t1, t2, t4, t5

cache_start = t2
cache_end = t4
here data for t3 is empty.

@github-actions github-actions bot added the bug Something isn't working label Aug 30, 2024
@SigNoz SigNoz deleted a comment from github-actions bot Aug 30, 2024
@nityanandagohain nityanandagohain marked this pull request as draft August 30, 2024 08:17
@nityanandagohain
Copy link
Member Author

closing in favour of #5811

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CACHE: Don't merge missedSeres if there is no overlap with the cached series
1 participant