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

[columnar] Cache eviction crash #142

Merged
merged 1 commit into from
Sep 12, 2023
Merged

[columnar] Cache eviction crash #142

merged 1 commit into from
Sep 12, 2023

Conversation

mkaruza
Copy link
Contributor

@mkaruza mkaruza commented Sep 8, 2023

Cache can be evected if still is in use, so it can trigger random memory problems or crash running process.
Fixed by keeping track of current chunk that is in use so we don't consider it for eviction.

Changed current cache coding style to align with rest of code.

Cache can be evected if still is in use, so it can trigger random memory
problems or crash running process.
Fixed by keeping track of current chunk that is in use so we don't
consider it for eviction.
@mkaruza mkaruza requested a review from JerrySievert September 8, 2023 10:27
@wuputah wuputah added this to the 1.0.0-rc milestone Sep 12, 2023
Copy link
Contributor

@JerrySievert JerrySievert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while I would always prefer a test-case, I know how difficult it is in this case.

lgtm.

@wuputah wuputah merged commit 3c5e13d into main Sep 12, 2023
@wuputah wuputah deleted the cache-memory-fix branch September 12, 2023 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants