Files
paperless-ngx/src/documents
stumpylog 54a8198167 Fix: take media.lock before the archiver's transaction
The archiver updated the document row inside a transaction and then waited on media.lock. A concurrent file move holding media.lock and updating the same row could deadlock with it, and the unique archive filename was generated outside the lock from an instance loaded before the parse.

The archiver now acquires media.lock before opening its transaction, refreshes the document under the lock, and moves the archive and thumbnail inside that block, so it never waits on media.lock while holding the row.
2026-11-03 15:09:29 -08:00
..
2026-05-26 16:46:23 +00:00
2026-09-01 07:56:38 -07:00
2026-05-20 08:54:00 -07:00