Skip to content

Update ZoneTree to v2.2.0 - #11

Merged
koculu merged 2 commits into
mainfrom
upgrade-zonetree-v2.2.0
Nov 27, 2026
Merged

koculu merged 2 commits into
mainfrom
upgrade-zonetree-v2.2.0

Conversation

@koculu

@koculu koculu commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Summary

Upgrades ZoneTree.Analytics from ZoneTree 2.0.5 to 2.2.0, adopting the latest storage engine APIs, WAL architecture, logging infrastructure, and buffer-based serialization capabilities.

Changes

  • Upgrade the ZoneTree dependency to v2.2.0.
  • Add .NET 11 support while retaining .NET 8, 9, and 10 compatibility for library consumers.
  • Adopt the new WAL architecture, replacing AsyncCompressed with AsyncPrivate as the default mode.
  • Migrate to the new IZoneTreeLogger interface and update ASP.NET Core logging integration.
  • Preserve storage error statistics independently of logger-level filtering.
  • Implement span-based serialization for rollup values and session states to reduce memory allocations.
  • Add serialized size estimation for HyperLogLog and quantile sketches.
  • Adapt storage maintenance, configuration, and recovery mechanisms to the updated ZoneTree APIs.
  • Update unit tests, crash recovery tests, dashboard settings, examples, and documentation.
  • Add tests verifying binary compatibility between existing and buffer-based serialization methods.

Breaking Changes and Migration

ZoneTree 2.2.0 requires storage format 2.1.10 or newer. Existing databases using older storage formats must be migrated before upgrading.

See the ZoneTree storage upgrade guide for migration instructions.

Applications using custom WAL configurations, loggers, or storage maintainers may also need to update their configuration to match the new APIs.

@koculu
koculu merged commit 55097b3 into main Nov 27, 2026
4 checks passed
@koculu
koculu deleted the upgrade-zonetree-v2.2.0 branch November 27, 2026 18:07
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