Skip to content

Commit

Permalink
Improve chunks status modification for consistency
Browse files Browse the repository at this point in the history
Due to the chunk status being a bitmap, updating any of the flags
needs previous locking of the tuple to make sure nobody can update
the status from under us and cause lost updates. This change unifies
all the places were we change chunk status and makes this more explicit
so we don't run into concurrency issues due to updates.
  • Loading branch information
antekresic committed Mar 25, 2024
1 parent 9f39241 commit 5715029
Show file tree
Hide file tree
Showing 3 changed files with 611 additions and 218 deletions.
Loading

0 comments on commit 5715029

Please sign in to comment.