Skip to content

Wait for async indexing function returning too early #1412

@rlmanrique

Description

@rlmanrique

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions