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

Handle mmap failures for redblack tree cache #9498

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

tenderlove
Copy link
Member

The redblack tree cache is totally optional, so if we can't allocate room for the cache, then just pretend as if the cache is full if mmap fails

The redblack tree cache is totally optional, so if we can't allocate
room for the cache, then just pretend as if the cache is full if mmap
fails
@tenderlove tenderlove merged commit 8b8dcc7 into ruby:master Jan 12, 2024
96 checks passed
@tenderlove tenderlove deleted the handle-mmap-failure branch January 12, 2024 17:31
sorah added a commit to sorah-rbpkg/ruby that referenced this pull request Jan 17, 2024
@krk krk mentioned this pull request Feb 1, 2024
github-merge-queue bot pushed a commit that referenced this pull request Mar 14, 2024
Handle mmap failures for redblack tree cache

The redblack tree cache is totally optional, so if we can't allocate
room for the cache, then just pretend as if the cache is full if mmap
fails

Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant