diff options
author | Dan McGee <dan@archlinux.org> | 2012-07-07 23:50:06 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-07-09 04:08:03 +0200 |
commit | 4cd588ae898c2abc8035cf0165ccdd038f2321bd (patch) | |
tree | 8e27995e2a6d322dfcd6b7118e536873ff030c38 /packages/migrations/0017_auto__add_update.py | |
parent | a87da032cb6b5b84624e4205b5f8b7cab37249cd (diff) | |
download | archweb-4cd588ae898c2abc8035cf0165ccdd038f2321bd.tar.gz archweb-4cd588ae898c2abc8035cf0165ccdd038f2321bd.tar.xz |
Add triggers for adding package update rows
This will be done instead of doing this logic at the application level,
which has some subtle race conditions. When two simultaneous threads
attempt to delete the same package, two update rows for the delete
action are inserted. When done at the database level, we can ensure a
one-to-one mapping between row operations and entries in this table.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/migrations/0017_auto__add_update.py')
0 files changed, 0 insertions, 0 deletions