penpot/backend
Andrey Antukh 584a0fdba1 Reduce locking on objects-gc task
The main issue was the long running gc operation that
affects storage objects with deduplication. The long running
transacion ends locking some storage object rows which collaterally
made operations like import-binfile become blocked indefinitelly
because of the same rows (because of deduplication).

The solution used in this commit is split operations on small
chunks so we no longer use long running transactions that holds
too many locks. With this approach we will make a window to work
concurrently all operarate the distinct operations that requires
locks on the same rows.
2024-05-23 16:35:54 +02:00
..
dev Use a prefixed dir for storing temp files 2024-02-14 09:53:54 +01:00
resources 📎 Add minor changes to compv2 related scripts 2024-04-07 14:07:40 +02:00
scripts 🐛 Fix issue with v2 manual migration script 2024-04-11 13:29:33 +02:00
src Reduce locking on objects-gc task 2024-05-23 16:35:54 +02:00
test/backend_tests Reduce locking on objects-gc task 2024-05-23 16:35:54 +02:00
.gitignore
build.clj
deps.edn ⬆️ Update dependencies 2024-04-18 09:52:24 +02:00
package.json Improve yarn setup on devenv 2024-05-23 12:21:07 +02:00
tests.edn
yarn.lock Improve yarn setup on devenv 2024-05-23 12:21:07 +02:00