-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds image locking like explained in rkt#460. An image is composed by the ACI file in the blob store and it's imageManifest in the imageManifest store. In future also the tree store will be part of an image. This means that a lock on an image covers multiple elements. For this reason the keyLock functions are used to take a lock. To avoid deadlocks the image locks shouldn't be taken inside the db access code.
- Loading branch information
Showing
1 changed file
with
42 additions
and
5 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