You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root cause appears to be repeated v2 index merges accumulating duplicate serialized posting-list sentinels. After enough reindexes, merge can no longer make progress through those duplicate sentinel entries and panics with panic: no progress.
The fix makes merge use invalidTrigram consistently for sentinel handling, restores lazy posting-list writes so empty non-sentinel posting lists are omitted and adds a repeated-merge regression test.
I reran the reproduction with repeated no-argument cindex runs: the patched binary completed successfully, cindex -check -list passed and the final posting index contained exactly one 0xffffff sentinel.
Activity
BourgeoisBear commentedon Dec 30, 2025
same here
index: fix repeated v2 index merges
idrassi commentedon Apr 15, 2026
I reproduced same issue on my side on Ubuntu 24.04.
I implemented a fix and I opened a PR: #101
The root cause appears to be repeated v2 index merges accumulating duplicate serialized posting-list sentinels. After enough reindexes, merge can no longer make progress through those duplicate sentinel entries and panics with
panic: no progress.The fix makes merge use
invalidTrigramconsistently for sentinel handling, restores lazy posting-list writes so empty non-sentinel posting lists are omitted and adds a repeated-merge regression test.I reran the reproduction with repeated no-argument cindex runs: the patched binary completed successfully, cindex -check -list passed and the final posting index contained exactly one 0xffffff sentinel.
index: fix repeated v2 index merges