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
{{ message }}
Repository navigation
async graph build not re-triggered for embeddings added during an ongoing build #3683
So while a building graph, if we inject more than 1k embeddings and wait for the end of building, the next call that should trigger async graph build doesn't trigger it.
To reproduce the bug, use this backup db bombardinocrocodilo (same as the one in #3679) and this script that will inject 2k embeddings when called :
importrequestsimportrandomvector= [random.random() for_inrange(1024)]
vector_str="["+",".join(str(v) forvinvector) +"]"foriinrange(2000):
response=requests.post(
"http://localhost:2480/api/v1/command/XXX", #<---- your db namejson={
"language": "sql",
"command": f"INSERT INTO CHUNK_EMBEDDING (vector) VALUES ({vector_str})"
},
auth=("root", "rootroot")
)
print(i)
Steps :
Inject at least 1k embeddings (here the script does 2k)
Call for vector neighbors with a 1024 size vector -> this should trigger async rebuild graph in console
While graph is building, inject again embeddings using the script
Wait for the building to finish and call again for vector neighbors -> no async rebuild is triggered
Activity
fix: async graph build not re-triggered for mutations during ongoing …
fix: async graph build not re-triggered for mutations during ongoing …
ExtReMLapin commentedon Mar 20, 2026
based
fix: async graph build not re-triggered for mutations during ongoing …
chore(deps-dev): bump org.mockito:mockito-core from 5.18.0 to 5.19.0 …
fix: async graph build not re-triggered for mutations during ongoing …