Feature Request #2021
Transactions would be really cool
Status:
open
Priority:
bug
Assignee:
-
% Done:
0%
Description
db-import-pkg calls db-move, then db-update (then db-remove). If db-update fails, it would be nice if it rolled back the db-move.
I'm thinking about implementing this via btrfs snapshots. That would require locking all of the repos, rather than just the ones you're working with. I don't think that would be too much of an issue; there isn't a ton of concurrency going on.
History
Updated by lukeshu over 4 years ago
Would having /srv/repo/main
be a symlink that changes confuse unionfs? IDK. That's a question we'd need to answer if we go the btrfs route.