fix(convert): the job converts exactly the photos its preview listed, once
A conversion job could still do something its confirmed dry run did not show, or refuse what it should have converted: - An upload landing between the confirmation and the sequence's turn made the sequence Changed at every retry. Each ConvertSequence now names the photos the plan converts (Photos, their frame ids); the job takes those from its re-plan, checks their content against the confirmed digest and leaves photos that came in since as they are. A photo the plan did not list is never converted, whatever changed on disk or in the index since the dry run. - A file another program held during the dry run was planned as Missing and then converted or not depending on the re-plan. It is now its own reason (inaccessible, "held open or cannot be opened"); a truncated file reads as undecodable. At job time a confirmed photo that cannot be opened leaves the sequence Blocked for the retry; a held photo the job does not convert does not hide a real change. - The same sequences could be converted twice (two dialogs or tabs, a lost answer, no dry run at all). MassConverter.QueueAsync checks the queued, running and paused conversions and queues under one lock, in the caller's context (the desktop's enqueue shows a toast on the UI thread); a job's own re-plan treats sequences of conversions queued before it as busy. - The per-photo space check reserved a full batch of photos even when fewer were left, so a job whose preview had the space could stop at every retry. It now reserves the photo and those after it that may convert at once. - New sequence now says in the dry run, the panel's totals and confirmation, and a new desktop confirmation, how many photos each new sequence lacks; only sequences that are copied use those words. - On the server, a confirmation takes only the plan kept for the index as it is now (503 plan_dropped otherwise, never a plan made inside the request), and busy sequences and free space are as they are at every request. The panel's Apply asks the dry run again first, with Close still available, and confirms only the same fingerprint. - Maintenance keeps another host's conversion staging as long as its journal and purges both together; the unstaged-copy failure and blocked sequences are logged in catalog sentences. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit fefd9c34ebfeed1f9e84161610ef286026d38355)
This commit is contained in:
1 parent
5b5acaf307
commit
c669d0504d
25 files changed
+1307
-226
No files matched your search
@@ -27,13 +27,16 @@
|
||||
<data name="Tooltips.Archive.ClearFilter" xml:space="preserve"><value>Mostra di nuovo tutte le sequenze della selezione</value></data>
|
||||
<data name="Tooltips.Archive.CloseDialog" xml:space="preserve"><value>Chiudi senza modificare nulla · Esc</value></data>
|
||||
<data name="Tooltips.Archive.Collapse" xml:space="preserve"><value>Nascondi le sequenze di quest'anno</value></data>
|
||||
<data name="Tooltips.Archive.ConvertApplyNew" xml:space="preserve"><value>Metti in coda un'attività che converte copie in nuove sequenze · mettila in pausa e riprendila in Attività</value></data>
|
||||
<data name="Tooltips.Archive.ConvertApplyNew" xml:space="preserve"><value>Conferma, poi metti in coda un'attività che converte copie in nuove sequenze · mettila in pausa e riprendila in Attività</value></data>
|
||||
<data name="Tooltips.Archive.ConvertApplyReplace" xml:space="preserve"><value>Digita il numero di foto per confermare, poi metti in coda un'attività che le sostituisce con la loro conversione · mettila in pausa e riprendila in Attività</value></data>
|
||||
<data name="Tooltips.Archive.ConvertBack" xml:space="preserve"><value>Torna al piano; non viene convertito nulla</value></data>
|
||||
<data name="Tooltips.Archive.ConvertDng" xml:space="preserve"><value>DNG lineare, 16 bit e senza perdita · letto da ogni editor di RAW; la scelta per l'archivio</value></data>
|
||||
<data name="Tooltips.Archive.ConvertJpeg" xml:space="preserve"><value>JPEG a 8 bit con la qualità indicata sotto · i file più piccoli; si perde un po' di dettaglio</value></data>
|
||||
<data name="Tooltips.Archive.ConvertModeNew" xml:space="preserve"><value>Le copie convertite vanno in una nuova sequenza accanto a ciascuna; gli originali restano come sono</value></data>
|
||||
<data name="Tooltips.Archive.ConvertModeReplace" xml:space="preserve"><value>I file convertiti prendono il posto delle foto nelle loro sequenze; gli originali vanno nel cestino dell'archivio, ripristinabili finché non viene svuotato</value></data>
|
||||
<data name="Tooltips.Archive.ConvertNew" xml:space="preserve"><value>Metti in coda l'attività che converte le foto in nuove sequenze, verificando ogni conversione; gli originali non vengono toccati</value></data>
|
||||
<data name="Tooltips.Archive.ConvertPlan" xml:space="preserve"><value>Le sequenze di cui vengono sostituite le foto</value></data>
|
||||
<data name="Tooltips.Archive.ConvertPlanNew" xml:space="preserve"><value>Le sequenze copiate in nuove sequenze, e le foto che ciascuna lascia fuori</value></data>
|
||||
<data name="Tooltips.Archive.ConvertQuality" xml:space="preserve"><value>Qualità JPEG da 1 a 100 · 95 conserva i dettagli fini; valori più bassi danno file più piccoli</value></data>
|
||||
<data name="Tooltips.Archive.ConvertReplace.one" xml:space="preserve"><value>Sostituisci {0:N0} foto con la sua conversione; prima digita il numero qui sopra</value></data>
|
||||
<data name="Tooltips.Archive.ConvertReplace.other" xml:space="preserve"><value>Sostituisci {0:N0} foto con la loro conversione; prima digita il numero qui sopra</value></data>
|
||||
|
||||
Reference in new issue
Block a user