Skip to content

Conversation

@irevoire
Copy link
Contributor

@irevoire irevoire commented May 21, 2025

Pull Request

Related issue

Fixes #119

What does this PR do?

  • Update the codec of splitnodes to not contain items
  • Simplify all the writer+parallel code with this new assumption (a lot of matches and ifs can be removed)
  • Introduce a new kind of node that abstracts over the version. It mixes the concept for all versions and supports a decoder for the pre-v1.7 and v1.7.
  • Rewrite all the methods in the reader to support reading in a previous database version. That simplifies a few things from the last PR.
  • Update the upgrade code to support new changes in the latest version
  • Update the upgrade test code to ensure we can read an old database as expected
  • Fix Arroy doesn't properly write the version of the database #128

@irevoire irevoire marked this pull request as ready for review May 21, 2025 16:04
@irevoire irevoire added indexing Everything related to indexing db-breaking labels May 21, 2025
@irevoire irevoire force-pushed the stop-pointing-to-items-in-split-nodes branch from fc4bea7 to b15d43b Compare May 21, 2025 16:14
@irevoire irevoire added this to the v1.7.0 milestone May 21, 2025
@irevoire irevoire force-pushed the stop-pointing-to-items-in-split-nodes branch from 22044f0 to 703bfdc Compare May 22, 2025 14:59
@irevoire irevoire requested a review from ManyTheFish May 22, 2025 15:02
@irevoire irevoire added this pull request to the merge queue May 26, 2025
Merged via the queue into main with commit f3b594a May 26, 2025
15 checks passed
@irevoire irevoire deleted the stop-pointing-to-items-in-split-nodes branch May 26, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

db-breaking indexing Everything related to indexing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arroy doesn't properly write the version of the database Stop pointing to item directly in split nodes

3 participants