Skip to content

v0.2.0-alpha - Phase 0 Critical Fixes

Choose a tag to compare

@ivkan ivkan released this 13 Dec 20:03
· 3328 commits to main since this release

What's New

Phase 0: Critical Fixes for Production Stability

0.1 Heartbeat Mechanism

  • PING/PONG protocol for connection health monitoring
  • Configurable interval and timeout
  • RTT measurement and clock skew detection

0.2 SyncEngine State Machine

  • Replaced boolean flags with formal FSM
  • States: INITIAL → CONNECTING → AUTHENTICATING → SYNCING → CONNECTED
  • Exponential backoff with jitter for reconnection

0.3 Backpressure Control

  • Three strategies: pause, throw, drop-oldest
  • High/low water mark events for monitoring
  • Prevents memory exhaustion during burst writes

0.4 ORMap Merkle Tree Sync

  • Efficient delta synchronization for ORMap
  • Prefix Trie based Merkle Tree implementation
  • Bidirectional sync with conflict resolution

Stats

  • 41 files changed
  • +5,124 lines added

Full Changelog

v0.1.0...v0.2.0-alpha