-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndb: add read lock to prevent NDB blob magic error
This error can happen if the ndb packages file is being updated (e.g. zypper up) while we are reading it. The rpm binary uses a shared flock when running `rpm -qa` on the ndb backend. This commit does the same for go-rpmdb.
- Loading branch information
Showing
1 changed file
with
7 additions
and
0 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