Andrey Smirnov
77d7c3871a
Consistently use transactions to update database
...
For any action which is multi-step (requires updating more than 1 DB
key), use transaction to make update atomic.
Also pack big chunks of updates (importing packages for importing and
mirror updates) into single transaction to improve aptly performance and
get some isolation.
Note that still layers up (Collections) provide some level of isolation,
so this is going to shine with the future PRs to remove collection
locks.
Spin-off of #459
2019-08-11 00:11:53 +03:00
..
2019-07-13 00:45:54 +03:00
2014-10-08 16:19:15 +04:00
2018-10-10 01:34:00 +03:00
2017-03-23 01:51:08 +03:00
2014-10-13 15:58:41 +01:00
2018-04-18 21:19:43 +03:00
2019-08-09 00:46:40 +03:00
2019-08-09 00:46:40 +03:00
2014-04-05 16:11:19 +04:00
2018-04-18 21:19:43 +03:00
2018-07-06 15:02:37 +02:00
2017-03-23 01:51:08 +03:00
2018-07-06 15:02:37 +02:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2017-02-10 23:07:06 +03:00
2018-04-18 21:19:43 +03:00
2019-08-11 00:11:53 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-07-06 15:02:37 +02:00
2014-08-28 22:47:41 +04:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2017-11-30 09:46:02 +01:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2019-08-11 00:11:53 +03:00
2014-07-28 19:17:21 +04:00
2018-04-18 21:19:43 +03:00
2017-03-23 01:51:08 +03:00
2018-04-18 21:19:43 +03:00
2014-07-28 19:17:21 +04:00
2019-08-11 00:11:53 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2017-02-10 23:07:06 +03:00
2017-03-23 01:51:08 +03:00
2015-03-15 21:30:54 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2017-03-23 01:51:08 +03:00
2017-03-23 01:51:08 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2018-04-18 21:19:43 +03:00
2014-09-01 22:09:58 +04:00
2017-05-04 23:00:13 +03:00
2014-08-16 14:14:56 +00:00
2018-04-18 21:19:43 +03:00