-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated locking to include locks on files. This is critical to prevent
parallel updates during the: (a) map entry selection (b) master key rotation. The locks are essentially constructed in a 2PL phase where necessary with an outer lock for the files and the inner one for the cache. Note that we don't need to ever acquire an exclusive lock on the keydata file as the same location can never be selected as long as we selected it via an exclusive lock on the map file.
- Loading branch information
Hamid Akhtar
committed
Mar 31, 2024
1 parent
5cf6ad8
commit ed57e3c
Showing
4 changed files
with
175 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.