Repository navigation
docs: mutations_before_rebuild is the floor of the rebuild threshold - #550
Merged
Merged
Conversation
The engine computes max(mutationsBeforeRebuild, min(graph size x rebuildGraphRatio, maxPendingMutations)) in 26.10.1, 26.10.2 and main (computeRebuildThreshold, read from the database configuration), so the "override" wording and the 26.10.1 workaround "a lower mutations_before_rebuild" were wrong past 500 vectors. The guide now gives the formula and the ALTER DATABASE route for rebuildGraphRatio (main c3af6d9: 1,000 to 250 at 5,000 vectors). Same fix as ArcadeData/arcadedb-python#111 and #113. Closes #549 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Closes #549
The published bindings docs called
mutations_before_rebuildan override of the rebuild threshold and listed "a lowermutations_before_rebuild" as a 26.10.1 workaround. The engine treats it as a floor:computeRebuildThresholdreturnsmax(mutationsBeforeRebuild, min(graph size x rebuildGraphRatio, maxPendingMutations)), read from the database configuration, at the26.10.1and26.10.2tags and on main. Past 500 vectors at the default ratio 0.2, lowering it changes nothing.docs/guide/vectors.mdALTER DATABASEroute forarcadedb.vectorIndex.rebuildGraphRatio(mainc3af6d9028: 1,000 to 250 at 5,000 vectors), and points toget_stats()["effectiveMutationsThreshold"].docs/api/database.mdcore.pydocstringSame fix as ArcadeData/arcadedb-python#111 and #113. Pre-commit passes on the three files.
🤖 Generated with Claude Code