Skip to content

bump xitdb to 0.42.0 - #31

Merged
codeboost merged 1 commit into
masterfrom
update-xitdb
Sep 17, 2026
Merged

codeboost merged 1 commit into
masterfrom
update-xitdb

Conversation

@xeubie

@xeubie xeubie commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

This update brings a variety of improvements:

  • Rollback works on a full disk, because setLength discards buffered data instead of flushing it
  • Buffered writes are faster: sequential writes stay buffered after a flush, and the file length is cached between flushes
  • The header is re-read and validated before top-level data is initialized, so another instance's data can't be overwritten
  • Large files are handled correctly: reads more than 2 GiB before the buffer, and transfers of arrays near 2 GiB, no longer overflow an int
  • Disk I/O uses positional FileChannel reads and writes in 1 MiB chunks, and flush writes straight from the backing array without copying it
  • close closes the file even if the flush fails
  • RandomAccessMemory has positional writeAt and readAt for the buffered file, and copies with System.arraycopy

@codeboost
codeboost merged commit 79bc759 into master Sep 17, 2026
1 check passed
@xeubie
xeubie deleted the update-xitdb branch September 17, 2026 21:18
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