Skip to content

Never drop the member name a storage-view group keeps - #286

Merged
abrignoni merged 1 commit into
mainfrom
fix/storage-views-repeated-member-names
Oct 13, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/storage-views-repeated-member-names

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

A zip that lists one member name twice under an Android storage view lost that file at ingest. This fixes it.

  • plan() counted the repeat as a mirror, so the kept name was also dropped and every copy was skipped.
  • A group now needs two distinct names, and the kept name is never dropped. Tar input was not affected.
  • Full ingest of samsunga53_a14: six ExoPlayer cache files and the three videos read from them are now registered. 165,901 rows before, 165,910 after, none removed.
  • Tests cover zip and tar, with and without a mirror.

A zip can list one member name more than once. plan() treated the repeat
as a second storage view of the file, so the name it kept was also in
the drop set and the zip ingest skipped every copy, mirrors included,
counting them as mirrored. A repeated name is now one spelling: a group
needs two distinct names to be a mirror, and the kept name is never
among the dropped ones. Tar input was not affected.

Measured on 2026-10-12 with a full ingest of samsunga53_a14: six
ExoPlayer cache files under data/data were not registered before and
are registered now, each with its two mirror paths, plus the three
videos read from them. 165,901 rows before, 165,910 after, none removed.
Of the 45 registered Android corpora, 43 list no member name twice.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni enabled auto-merge October 12, 2026 23:57
@abrignoni
abrignoni merged commit 0858a76 into main Oct 13, 2026
8 checks passed
@abrignoni
abrignoni deleted the fix/storage-views-repeated-member-names branch October 13, 2026 00:12
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