-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Labels
questionFurther information is requestedFurther information is requestedwontfixThis will not be worked onThis will not be worked on
Milestone
Description
I am using the latest lib from pypi. The client is doing batch insertion as suggested in the document in a separate background thread in my code. Every time the job queue is cleared, the main thread exit, the script always drop a few errors like this
'''
ThreadPoolExexutor-0_0[write_api]: The batch item wasn't processed successfully because cannot schedule new futures after interpreter shutdown.
'''
I assume the insertion has not actually finished yet, The documentation doesn't seem to have covered this, I would like to ask if there is any way to check if the batch insertion has actually finished, so that the main thread could wait for it.
hf-kklein
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requestedwontfixThis will not be worked onThis will not be worked on