Repository navigation
fix(core): FTS5 columns, unix index lock, pinned bulk delete, doc_search pairing - #1333
Merged
Merged
Conversation
… doc_search pairing, db dir chmod - fts5: select slug/source/source_type/author_type/deprecated_at in row_to_memory order; rank at index 22 - vector: on unix lock the new index file before rename so the exclusive lock follows the published inode - bulk: cold find/delete skip pinned memories - doc_search: pair chunk hits with rows by id instead of zip - resolve_db_path: only chmod 0700 directories it created Refs #1330 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
The vecq-only CI check cannot load a .usearch file. Refs #1330 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
slug, source, source_type, author_type, deprecated_atin the orderrow_to_memoryreads them;rankmoves to index 22. Before, FTS-derived memories (hybrid recall, recall_explain) gotslug= source,source= source_type,source_type= "unknown" and defaultauthor_type/deprecated_at.VectorIndex::save()locks the new temp file before renaming it over the index and keeps that handle as the live lock. Previously the flock stayed on the orphaned inode, so a second process could lock the new file and cross-process exclusion was lost after the first save.find_ids_cold/bulk_delete_coldskip pinned memories ("never decays").forget --allis intentionally unchanged.pair_chunk_hits) instead ofzip, which misaligned every score after a missing chunk row.~/uteke.dbno longer chmods$HOME).Why
Validated findings from the Cora scan of v0.19.1 — see #1330. The FTS5 and lock issues silently produce wrong data / weaken the lock added to the safety net in #1320.
Testing
cargo clippy --workspace --all-targetsclean;cargo test -p uteke-core -p uteke-serverpasses.pair_chunk_hitswith a missing row,resolve_db_pathleaves pre-existing dirs alone.Refs #1330
🤖 Generated with Claude Code