Skip to content

15 update h2 version - #16

Open
tipatterson-dev wants to merge 12 commits into
masterfrom
15-update-h2-version
Open

tipatterson-dev wants to merge 12 commits into
masterfrom
15-update-h2-version

Conversation

@tipatterson-dev

Copy link
Copy Markdown

Update H2 version to 2.5.250.

Removes unused radix classes
parameterizes several classes to preserve type inference in MVStore
Adds ObjectDataArrayType interface to share required createStorage() method across multiple serializers
Replace SpatialKey with Spatial and create bounds via a SpatialDataTypeFactgory included in H2Utils
Remove DescendingCursor as newer versions of H2 support reverse ordered cursors by default.

This version is a draft until we determine if it needs to go straight to opensensorhub or should sit here for a bit.

A migration tool is in the works to preserve old .dat/.db files

… of H2 support cursors with reverse iteration.
…Migrate to BasicDataType<Object> and

remove obsolete bulk methods.
…lace DataType signatures to preserve type inference when building MVStore maps.
…e tool.

The migration tool will eventually be separated from this module, but I am packaging it here so that we can easily automigrate old files during this transitory period.
…ay be moved to a different location in the future to keep this module more lightweight.
@tipatterson-dev
tipatterson-dev marked this pull request as ready for review October 1, 2026 19:32
@tipatterson-dev

Copy link
Copy Markdown
Author

@drewbotts I tested migrations with the archived DBs, live data from a camera and simulated sensors, including migration.

I feel like the upgrade is solid, but I recommend giving it a test in a build that is not on my devices for certainty.

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