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

Log the real reason for why posix_fadvise failed #13246

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

TedLyngmo
Copy link

reclaimFilePageCache did not set errno but rdbSaveInternal which is logging the error assumed it did. This makes sure errno is set.

Fixes #13245

`reclaimFilePageCache` did not set `errno` but `rdbSaveInternal` which
is logging the error assumed it did. This makes sure `errno` is set.

Fixes redis#13245

Signed-off-by: Ted Lyngmo <ted@lyncon.se>
@sundb sundb added the state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

[BUG] Wrong error logged when reclaimFilePageCache fails
3 participants