Skip to content

improve compact and materialize - #29

Merged
codeboost merged 6 commits into
masterfrom
update-xitdb
Sep 15, 2026
Merged

codeboost merged 6 commits into
masterfrom
update-xitdb

Conversation

@xeubie

@xeubie xeubie commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator
  1. compact now stores its temporary offsets map on disk rather than in memory, avoiding the possibility of an OOM
  2. materialize detects cycles, throwing an IllegalArgumentException instead of a StackOverflowError
  3. the updated xitdb-java 0.40.0 now correctly distinguishes between missing lookups and lookups that return Tag.NONE

xeubie and others added 6 commits September 15, 2026 14:52
xitdb-java 0.40.0 distinguishes an explicitly stored NONE slot from a
missing lookup, which fixes contains?/get/find/nth with a default on
stored nils. Cover maps, sorted maps, sets, vectors and lists across
memory, file, transaction, frozen and reopened views.

Assert that compact removes its offsets temp file after a successful
copy and after a copy that fails part way through.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@codeboost
codeboost merged commit d1182e8 into master Sep 15, 2026
1 check passed
@xeubie
xeubie deleted the update-xitdb branch September 15, 2026 22:23
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.

2 participants