Skip to content

Register a deleted file read through a damaged chunk, with the error - #350

Merged
abrignoni merged 2 commits into
mainfrom
fix/344-recovered-damaged-files
Nov 25, 2026
Merged

abrignoni merged 2 commits into
mainfrom
fix/344-recovered-damaged-files

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Deleted-file recovery now keeps a row for a file read through a damaged image chunk, as the walk already does.

  • Before, the file was dropped and counted only as unreadable, so the case did not name it.
  • It is registered with the damage error, no copy and no hash, and the recovery audit line counts it apart.
  • New test damages one recovered file in an exFAT E01; it fails on main (2 rows of 3).
  • Szechuan E01: recovery output identical to main.

Addresses the first item of #344; the other three stay open.

Co-Authored-By: Claude Opus 5.5 [email protected]

Deleted-file recovery caught ChunkDamage with the unreadable errors, so
a recoverable file read through an acquisition chunk that fails its
stored checksum was dropped and counted only as unreadable. The case had
no row naming it. It is now registered as a walked file is: the damage
error from _damage_note, no new copy and no hash, its times not set on
a copy, and the recovery audit line counts those apart.

Addresses the first item of #344; the other three stay open there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@abrignoni abrignoni left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated GLEAPP review.

Comment thread gleapp/archive.py Resolved
A deleted file registered with a damage error and no copy was counted in
"N deleted file(s) recovered", in the audit line and in the count
recover_deleted returns, which the command line prints as recovered.
Both now count the files recovered with a copy; the damaged ones are
said apart as registered with that error and no copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 4670172 into main Nov 25, 2026
7 checks passed
@abrignoni
abrignoni deleted the fix/344-recovered-damaged-files branch November 25, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant