feat(extractor): resumable seam for giant OST/PST parsing#59
Draft
pirhoo wants to merge 3 commits into
Draft
Conversation
Make indexing of a single OST/PST resumable so a restart mid-file does not reparse from byte 0. The resumable unit is the mail message, keyed by its descriptor node id (stable across runs, already the dedup key). This is the self-contained extract-lib half; datashare persists which units are durably indexed and supplies the skip policy on a resumed run. - feat(parser): add ResumePolicy (context-carried skip predicate, NONE default) - feat(parser): ResilientOutlookPSTParser skips already-done messages without re-parsing, still counting them so reconciliation stays honest, and stamps a stable tika:pst_resume_key on every emitted message plus a tika:pst_resumed_skipped visibility counter - feat(extractor): add Extractor.setResumePolicyProvider seam, wired into the parse context like PstFanoutConfig; inert (NONE) by default - test: skip-all / skip-subset / off-by-default at the parser level, and end-to-end id determinism (resumed id set is a strict subset of the full run)
pirhoo
force-pushed
the
feat/archive-size-guard
branch
from
July 3, 2026 13:12
228044d to
8d81fa7
Compare
pirhoo
force-pushed
the
feat/resumable-ost-progress
branch
from
July 3, 2026 13:12
eab2f63 to
778d9cd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Groundwork for resuming a large PST/OST interrupted mid-parse instead of restarting it from scratch; a 50 GB mailbox cost ~17h of wasted re-processing last run. Extraction-side hook only, inert until the datashare side persists progress, so behavior is unchanged for now.