diff options
author | Dan McGee <dan@archlinux.org> | 2012-07-07 16:50:06 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-07-08 21:08:03 -0500 |
commit | 4cd588ae898c2abc8035cf0165ccdd038f2321bd (patch) | |
tree | 8e27995e2a6d322dfcd6b7118e536873ff030c38 /packages/models.py | |
parent | a87da032cb6b5b84624e4205b5f8b7cab37249cd (diff) |
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/models.py')
0 files changed, 0 insertions, 0 deletions