mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 13:46:16 -08:00
fix(downloads): fence archive commands during completion commit
This commit is contained in:
1 parent
76632d2003
commit
7c186dcc8e
6 files changed
+51
-10
No files matched your search
@@ -73,7 +73,11 @@ before truncation or writes; a rejected replacement keeps its journal for retry.
|
||||
recovery after a transient completion DB error without waiting for a restart.
|
||||
Fallback copying observes pause/cancel between bounded 64 KiB reads/writes and
|
||||
before publication completes. Interruption removes only the owned copy and
|
||||
leaves the source for the runtime pause/cancel handler.
|
||||
leaves the source for the runtime pause/cancel handler. Once publication identity
|
||||
and size pass the final check, the task synchronously enters completion commit
|
||||
before awaited partial cleanup and the SQLite completion write. Pause/cancel then
|
||||
return false without setting flags; a command is never accepted and subsequently
|
||||
overwritten by completion.
|
||||
A kill between exclusive copy-file creation and its identity journal commit can
|
||||
leave an unowned **empty** destination: no bytes are written before the commit.
|
||||
Recovery preserves that file rather than guessing ownership; Retry uses a
|
||||
|
||||
Reference in new issue
Block a user