diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-17 12:34:12 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-17 12:49:10 -0600 |
commit | a9819e3d715ce3e5c20c9665db9a6100f06ab562 (patch) | |
tree | 0d5b457e7de06401095a17993735b1530f20f454 /media | |
parent | 9d2fdbe5bc6a0d9ab2907b377056851fc5eb56c3 (diff) |
Ensure reporead is protected against simultaneous runs
This adds a bunch of transaction magic and SELECT FOR UPDATE stuff to
reporead to cope with the now-concurrent runs of reporead we get when
invoked from our inotify-based updater. The collision occurs with 'any'
architecture packages as both repo databases contain the new version,
and the updates occur at exactly the same time.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions