v4.20.6
sundowndev/phoneinfogav4.20.6Sep 16, 2026by dudizimber
Upgrading?
AI Summary
This release addresses two critical database engine bugs: a Cypher aggregation issue causing parallel edge under-counting and an index population failure that could cause hangs or row skipping due to unsynced delta matrices.
Key Highlights
- Fixed `count(*)` under-counting parallel edges in Cypher queries by modifying the reference-map builder.
- Resolved index population hangs and row skipping caused by unsynced delta matrices by enforcing strict row-major order.
- Reduced write stall times during index population by releasing the read lock between edge batches.
- Fixes are scoped to user aliases and * projections and are plan-cache safe.
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
ollama/ollamaβ
184,249
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frpβ
110,070
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
infiniflow/ragflowβ
92,637
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugoβ
90,198
The worldβs fastest framework for building websites.
junegunn/fzfβ
83,715
:cherry_blossom: A command-line fuzzy finder