v4.20.6
guilinhu/proactive_hearing_assistantv4.20.6Sep 16, 2026by dudizimber
Upgrading?
AI Summary
This release addresses critical bugs in graph traversal and index maintenance. It fixes an issue where `count(*)` undercounted parallel edges and resolves a problem where index population could skip rows or hang when dealing with unsynced delta matrices.
Key Highlights
- Fixed `count(*)` under-counting parallel edges by detecting star aggregations and preserving entity multiplicity.
- Fixed index population skipping rows or hanging on unsynced delta matrices.
- Merged main matrix and delta-plus in strict row-major order to make batch resume safe.
- Reduced write stall time between edge batches from ~1.5s to ~5ms.
Full Release Notes
🐛 Bug fixes `count(*)` under-counted parallel edges `MATCH (a)-[e]->(b) RETURN count(*)` returned 1 instead of 3 for three parallel edges. Because `count(*)` references no entity, the edge alias was left unreferenced, the algebraic expression dropped the edge, and the traversal emitted a single record per (src, dest) pair — collapsing parallel edges and under-counting. The reference-map builder now detects a star aggregation and keeps the pattern's named entities referenced so their multiplicity is preserved (scoped to user aliases and * projections only; plan-cache safe). - PR: #2660 Index population could skip rows or hang on unsynced delta matrices When a label or relation matrix held unsynced delta-plus entries, index population resumed batched scans at [last_row, MAX) while the iterators drained the main matrix before yielding delta-plus — permanently skipping delta-plus rows below the resume point (nodes), and spinning forever re-scanning the same range (edges, once a masking tautology was removed). Population now merges the main matrix and delta-plus in strict row-major order, making batch resume safe. Also releases the read lock between edge batches (~1.5s write stall on 1M edges → ~5ms). - PR: #2812 - Fixes: #2811 **Full Changelog**: https://github.com/FalkorDB/FalkorDB/compare/v4.20.4...v4.20.5
Related Repositories
public-apis/public-apis★ 491,176
A collective list of free APIs
NousResearch/hermes-agent★ 256,017
The agent that grows with you
yt-dlp/yt-dlp★ 200,193
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,525
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,703
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.