fix(reorganize): a sequence still receiving photos keeps its file names and the job goes on
A Reorganize with a file template failed its job at the step of a sequence
a camera was still uploading into, and its retry gave the rest up. Photos
changed since the plan now never refuse a step: that sequence keeps its file
names (FilesKept), its folder and title change as planned, the other steps go
on and the job ends with ReorganizeKept. The fingerprint, the job's
confirmation and the check under the leases pin file renames by their digest
instead of the frames version, so photos filed under the names the plan gives
them no longer make a dry run or a queued job stale.
- A step whose folder or files a template names after {title} checks the
title as a retitle does (RenameStep.NamedByTitle): no name comes from a
title edited since the plan.
- Recovery sends a photo that already took its new name back together with a
companion whose new name was taken, so the two never end up apart.
- ArchiveService.OpenAsync logs a NewerFormatException from resuming a plan
and keeps its journal, so a server still boots.
- Once a step's folder moved, every index row of the step follows it even
when a sidecar cannot be read or written; the step then fails for a retry.
- Job log lines and errors give the real reason for files kept busy (in use
or a new name taken) and for a sidecar of a newer format (new Newer
outcome; strings en and it).
- A plan an archive open completes tells sequenceChanged; the docs that
promised more than that are corrected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f8554b8af0828ab9b0ff128e694abacdd53e6fd7)
This commit is contained in:
1 parent
59ee982e4d
commit
9e1f109b58
16 files changed
+560
-195
No files matched your search
@@ -87,10 +87,12 @@
|
||||
<data name="Archive.Error.NewerFormat" xml:space="preserve"><value>{0} was written by a newer Chronos (format {1}).</value><comment>long: error sentence</comment></data>
|
||||
<data name="Archive.Error.Offline" xml:space="preserve"><value>The archive {0} is offline.</value><comment>long: error sentence</comment></data>
|
||||
<data name="Archive.Error.ReadOnly" xml:space="preserve"><value>The archive {0} is read-only.</value><comment>long: error sentence</comment></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.one" xml:space="preserve"><value>{0:N0} sequence kept its file names: a photo was in use.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.other" xml:space="preserve"><value>{0:N0} sequences kept their file names: a photo was in use.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.one" xml:space="preserve"><value>{0:N0} sequence kept its file names: a photo was in use or its new name was taken.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.other" xml:space="preserve"><value>{0:N0} sequences kept their file names: a photo was in use or its new name was taken.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.ReorganizeKept.one" xml:space="preserve"><value>{0:N0} sequence was not reorganized as planned: it changed after the plan.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.ReorganizeKept.other" xml:space="preserve"><value>{0:N0} sequences were not reorganized as planned: they changed after the plan.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.ReorganizeNewer.one" xml:space="preserve"><value>{0:N0} sequence kept its title and file names: its sequence file is from a newer Chronos.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.ReorganizeNewer.other" xml:space="preserve"><value>{0:N0} sequences kept their titles and file names: their sequence files are from a newer Chronos.</value><comment>long: error sentence of a Reorganize job</comment></data>
|
||||
<data name="Archive.Error.SourceChanged" xml:space="preserve"><value>{0} changed after the plan was made.</value><comment>long: error sentence</comment></data>
|
||||
<data name="Archive.Error.SourceGone" xml:space="preserve"><value>The card or folder {0} is no longer available.</value><comment>long: error sentence</comment></data>
|
||||
<data name="Archive.Error.StalePlan" xml:space="preserve"><value>The archive changed after this plan was made.</value><comment>long: error sentence</comment></data>
|
||||
@@ -157,8 +159,9 @@
|
||||
<data name="Archive.Log.ProxiesDone" xml:space="preserve"><value>{0}: made {1}, reused {2}, unreadable {3}, waiting {4}</value><comment>long: job log line; {4} frames whose proxy this host waits for from a client or render node</comment></data>
|
||||
<data name="Archive.Log.ProxiesSent" xml:space="preserve"><value>Proxies for the server: {0} sent, {1} not sent</value><comment>long: job log line; {0} proxies sent; {1} proxies this PC could not make or the server refused</comment></data>
|
||||
<data name="Archive.Log.ReorganizeDropped" xml:space="preserve"><value>Left as it was, changed after the plan: {0}</value><comment>long: job log line; {0} sequence title or folder</comment></data>
|
||||
<data name="Archive.Log.ReorganizeFilesBusy" xml:space="preserve"><value>File names kept, a photo was in use: {0}</value><comment>long: job log line; {0} sequence title or folder</comment></data>
|
||||
<data name="Archive.Log.ReorganizeFilesBusy" xml:space="preserve"><value>File names kept, a photo was in use or its new name was taken: {0}</value><comment>long: job log line; {0} sequence title or folder</comment></data>
|
||||
<data name="Archive.Log.ReorganizeFilesKept" xml:space="preserve"><value>File names kept, photos changed after the plan: {0}</value><comment>long: job log line; {0} sequence title or folder</comment></data>
|
||||
<data name="Archive.Log.ReorganizeNewerKept" xml:space="preserve"><value>Title and file names kept, its sequence file is from a newer Chronos: {0}</value><comment>long: job log line; {0} sequence title or folder</comment></data>
|
||||
<data name="Archive.Log.ReorganizeTitleKept" xml:space="preserve"><value>Title and file names kept, changed after the plan: {0}</value><comment>long: job log line; {0} sequence title or folder</comment></data>
|
||||
<data name="Archive.Log.Reorganized" xml:space="preserve"><value>Sequences changed: {0}, files renamed: {1}</value><comment>long: job log line of a Reorganize; {0} sequences, {1} photos</comment></data>
|
||||
<data name="Archive.Log.ReorganizedEarlier" xml:space="preserve"><value>The reorganization was completed when the archive was opened</value><comment>long: job log line</comment></data>
|
||||
|
||||
@@ -82,10 +82,12 @@
|
||||
<data name="Archive.Error.NewerFormat" xml:space="preserve"><value>{0} è stato scritto da un Chronos più recente (formato {1}).</value></data>
|
||||
<data name="Archive.Error.Offline" xml:space="preserve"><value>L'archivio {0} non è raggiungibile.</value></data>
|
||||
<data name="Archive.Error.ReadOnly" xml:space="preserve"><value>L'archivio {0} è di sola lettura.</value></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.one" xml:space="preserve"><value>{0:N0} sequenza ha mantenuto i nomi dei file: una foto era in uso.</value></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.other" xml:space="preserve"><value>{0:N0} sequenze hanno mantenuto i nomi dei file: una foto era in uso.</value></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.one" xml:space="preserve"><value>{0:N0} sequenza ha mantenuto i nomi dei file: una foto era in uso o il suo nuovo nome era occupato.</value></data>
|
||||
<data name="Archive.Error.ReorganizeBusy.other" xml:space="preserve"><value>{0:N0} sequenze hanno mantenuto i nomi dei file: una foto era in uso o il suo nuovo nome era occupato.</value></data>
|
||||
<data name="Archive.Error.ReorganizeKept.one" xml:space="preserve"><value>{0:N0} sequenza non è stata riorganizzata come previsto: è cambiata dopo il piano.</value></data>
|
||||
<data name="Archive.Error.ReorganizeKept.other" xml:space="preserve"><value>{0:N0} sequenze non sono state riorganizzate come previsto: sono cambiate dopo il piano.</value></data>
|
||||
<data name="Archive.Error.ReorganizeNewer.one" xml:space="preserve"><value>{0:N0} sequenza ha mantenuto titolo e nomi dei file: il file della sequenza è di un Chronos più recente.</value></data>
|
||||
<data name="Archive.Error.ReorganizeNewer.other" xml:space="preserve"><value>{0:N0} sequenze hanno mantenuto titoli e nomi dei file: i file delle sequenze sono di un Chronos più recente.</value></data>
|
||||
<data name="Archive.Error.SourceChanged" xml:space="preserve"><value>{0} è cambiato dopo la creazione del piano.</value></data>
|
||||
<data name="Archive.Error.SourceGone" xml:space="preserve"><value>La scheda o cartella {0} non è più disponibile.</value></data>
|
||||
<data name="Archive.Error.StalePlan" xml:space="preserve"><value>L'archivio è cambiato dopo la creazione del piano.</value></data>
|
||||
@@ -152,8 +154,9 @@
|
||||
<data name="Archive.Log.ProxiesDone" xml:space="preserve"><value>{0}: create {1}, riusate {2}, illeggibili {3}, in attesa {4}</value></data>
|
||||
<data name="Archive.Log.ProxiesSent" xml:space="preserve"><value>Proxy per il server: {0} inviati, {1} non inviati</value></data>
|
||||
<data name="Archive.Log.ReorganizeDropped" xml:space="preserve"><value>Lasciata com'era, cambiata dopo il piano: {0}</value></data>
|
||||
<data name="Archive.Log.ReorganizeFilesBusy" xml:space="preserve"><value>Nomi dei file mantenuti, una foto era in uso: {0}</value></data>
|
||||
<data name="Archive.Log.ReorganizeFilesBusy" xml:space="preserve"><value>Nomi dei file mantenuti, una foto era in uso o il suo nuovo nome era occupato: {0}</value></data>
|
||||
<data name="Archive.Log.ReorganizeFilesKept" xml:space="preserve"><value>Nomi dei file mantenuti, foto cambiate dopo il piano: {0}</value></data>
|
||||
<data name="Archive.Log.ReorganizeNewerKept" xml:space="preserve"><value>Titolo e nomi dei file mantenuti, il file della sequenza è di un Chronos più recente: {0}</value></data>
|
||||
<data name="Archive.Log.ReorganizeTitleKept" xml:space="preserve"><value>Titolo e nomi dei file mantenuti, cambiata dopo il piano: {0}</value></data>
|
||||
<data name="Archive.Log.Reorganized" xml:space="preserve"><value>Sequenze cambiate: {0}, file rinominati: {1}</value></data>
|
||||
<data name="Archive.Log.ReorganizedEarlier" xml:space="preserve"><value>La riorganizzazione è stata completata all'apertura dell'archivio</value></data>
|
||||
|
||||
Reference in new issue
Block a user