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: fix logic for cache #5811

Merged
merged 4 commits into from
Sep 4, 2024
Merged

fix: fix logic for cache #5811

merged 4 commits into from
Sep 4, 2024

Conversation

nityanandagohain
Copy link
Member

@nityanandagohain nityanandagohain commented Aug 30, 2024

Fixes #5808

The main issue was that when the misses were disjointed of the cached data we merged them regardless.

So for case 5 of generating misses i.e
// Case 5: Cached time range is a disjoint of the requested time range
we just replace the cache with the new data.

@srikanthccv
Copy link
Member

I will need time to think more about the change and then review it.

@nityanandagohain
Copy link
Member Author

No, worries lets take the time, even I will think more

@nityanandagohain nityanandagohain merged commit 1066b21 into develop Sep 4, 2024
12 checks passed
@nityanandagohain nityanandagohain deleted the issue_5808-1 branch September 4, 2024 05:05
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
2 participants