Skip to content

Avoid full database scans during imports - #25

Merged
michielbdejong merged 1 commit into
mainfrom
fix/indexed-import-scans
Sep 8, 2026
Merged

michielbdejong merged 1 commit into
mainfrom
fix/indexed-import-scans

Conversation

@michielbdejong

Copy link
Copy Markdown
Contributor

Large imports scanned and decoded every resource for each imported record when checking for obsolete nested resources and legacy drives. Use Atomic Data's indexed subject-prefix iterator for those lookups, and for scoped reads/listing/deletion, while preserving the same cleanup boundaries.

Updates atomic_lib to the commit providing the indexed API. This supports ontola/atomic-server#1383.

Validation: all 51 library tests pass; cargo clippy --all-targets -- -D warnings passes; the real AtomicServer OAuth import integration test passes with this change. The user approved the patch and publication.

Codex-Session: docs/ai-logs/sessions/2026-09-08-import-prefix-scans.md
@michielbdejong
michielbdejong merged commit 331bd1a into main Sep 8, 2026
1 check passed
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