Skip to content

loro-crdt-map@1.19.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:53
· 10 commits to main since this release
934563c

Patch Changes

  • 16fe805: Allow smaller FugueSpan layouts on 32-bit targets while retaining the 64-byte memory bound. This fixes native i686 musl builds without changing the wire format or runtime behavior. Publish the Rust fix as loro-internal 1.19.1, compatible with loro 1.19.0.
  • 4c6daa2: Prevent memory-budget reclamation thrashing and reduce flush write amplification:
    • Protect active and recently refaulted hot containers during soft watermark demotion, with cooldown refresh under sustained hot traffic and deterministic bypass on reclaim_memory() / hard-limit rescue.
    • Detect rapid Stage 1 cache-rebuild thrashing (such as repeated block_cache clear + get_deep_value() rebuild cycles) in SoftBackoff while preserving periodic probes and hard-limit rescue.
    • Route global import and WASM linear-allocation preflights through SoftBackoff (respecting configured watermarks and bypassing backoff whenever projected > cap), and run global batch preflight once per import_batch instead of per blob.
    • Retain the most recently used DiffCalculator trackers (LRU) during Stage 1 reclaim_cold_caches instead of evicting the largest active trackers first.
    • Bypass SoftBackoff when rescuing over hard memory limits, compact parsed history blocks during compact_history(), avoid starving post-rollback history compaction, skip futile Stage 2 demotion on unrescuable try_commit rejections, and clean up transient DiffCalculator caches after budget-rejected commits.
    • Flush MemKvStore / FileKvStore (loro-kv-store) incrementally to L0 SSTables with size-tiered suffix compaction and in-memory L0 Bloom filters instead of rewriting the full table on every flush (note for Rust loro-kv-store consumers: flush() may now retain multiple SSTables until export_all() or full compaction).