model-writtenrun 8650 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Adé reported severe GIN query slowdowns when gin_fuzzy_search_limit was small relative to the matching population and submitted a patch that avoided reloading previously scanned items after random rejection #1.
- Tom Lane initially questioned whether the fix should address index traversal more generally, identified missing regression coverage for root re-descent, and raised the posting-list path's missing fuzzy-limit filtering #2.
- Adé clarified that repeated loading of the same items was the primary problem and explained why posting lists and the last posting-tree page should apply the same random filtering as other pages #3.
- Tom Lane then supplied a rework that advanced the local advancePast value directly, refactored all three scanning loops, added missing posting-list filtering, removed problematic bitmap gotitem bookkeeping, and added regression tests while retaining root re-descent #4.
- Tom Lane committed that rework with only a comment adjustment as e41955faf0, back-patched the fix to all supported branches, and announced completion #5; Adé acknowledged the completed fixes, leaving no outstanding work stated in the thread #6.