mirror of
https://github.com/thegeneralist01/archivr
synced 2026-12-04 18:56:44 +01:00
The last-owner guard checked the owner count outside the write, so two concurrent deletes of different owners could both pass and leave no active owner. The check and the delete now run in one BEGIN IMMEDIATE transaction, and the auth DB gets a busy timeout so the second writer waits. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| archivr-cli | ||
| archivr-core | ||
| archivr-server | ||