0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 09:11:21 -05:00
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 ⬆️ Update yarn to 4.0.2 and start using npm workspaces 2023-11-29 10:44:36 +01:00
build.clj 🐛 Fix unexpected exception on logger caused by log4j2 plugin 2023-02-11 00:52:23 +01:00
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 ♻️ Internal directory refactor. 2021-05-31 11:04:32 +02:00
yarn.lock Improve yarn setup on devenv 2024-05-23 12:21:07 +02:00