diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-17 19:34:12 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-17 19:49:10 +0100 |
commit | a9819e3d715ce3e5c20c9665db9a6100f06ab562 (patch) | |
tree | 0d5b457e7de06401095a17993735b1530f20f454 /media/visualize.js | |
parent | 9d2fdbe5bc6a0d9ab2907b377056851fc5eb56c3 (diff) | |
download | archweb-a9819e3d715ce3e5c20c9665db9a6100f06ab562.tar.gz archweb-a9819e3d715ce3e5c20c9665db9a6100f06ab562.tar.xz |
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/visualize.js')
0 files changed, 0 insertions, 0 deletions