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

Lock big OMAP filed when reading their content #1122

Draft
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

gbregman
Copy link
Collaborator

In case the OMAP file is bigger than 1024 entries, the read of its content is not atomic. So, in such a case if the filer was modified while we were reading we lock the file and read again.

Fixes #1117

@gbregman gbregman self-assigned this Feb 26, 2025
@gbregman gbregman marked this pull request as draft February 26, 2025 12:28
@gbregman gbregman force-pushed the devel branch 9 times, most recently from 6ae8706 to a4bcf5c Compare February 26, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

Lock OMAP when we read its state
1 participant