Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve chunks status modification for consistency
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