Repository navigation
feat(spann): add automatic dynamic layer growth and shrinking - #477
Open
Qianxi Zhang (zqxjjj) wants to merge 2 commits into
Open
Qianxi Zhang (zqxjjj) wants to merge 2 commits into
Qianxi Zhang (zqxjjj) wants to merge 2 commits into
Conversation
Consolidate dynamic layer growth, threshold-driven shrinking, FILEIO and TiKV support, regression coverage, real-SIFT lifecycle tooling, and related documentation. Preserve the exact final tree of 785e060644f382efdddc715b3bcd79ed06e8e29c. Ordinary merge and reassignment remain in use. The small real-SIFT run observed automatic 1-to-2-to-1 and deletion/reload Recall@5 of 0.9907, but timed out during post-reload cleanup; the 5M deletion lifecycle also timed out and is not accepted. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add an explicit per-phase timeout override, with zero disabling only the outer wall-clock deadline. Preserve resource guards and existing internal deadlines; cover unlimited execution, explicit limits and disk protection. Record the full 4.5M-to-5.5M-to-4.5M ordinary-merge32 lifecycle: all deletion batches completed in a roughly 19h47m formal run, final Recall@5 was 0.96430/0.96424, but the 15-minute convergence window ended at two layers and exit201. Shrinking and final reload are not accepted. Keep generated indexes and raw logs out of Git. All 13 focused Python tests passed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
Add automatic SPANN layer growth and shrinking, preserving ordinary merge and reassignment. Includes tests, SIFT lifecycle tooling and documentation.