weaviate-python-client icon indicating copy to clipboard operation
weaviate-python-client copied to clipboard

Wait for async indexing function returning too early

Open rlmanrique opened this issue 1 year ago • 0 comments

There seems to be a race condition in the wait_for_vector_indexing() function that the index status is reported for a moment as Ready while vectorQueueLength is 0 while objectCount is less than objectCountBefore + len(objectsInserted)

It would be convenient to check objectCount and the number of inserted objects in the batch to determine whether the indexing is done

rlmanrique avatar Nov 13 '24 11:11 rlmanrique