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
Collection update request awaits for optimizer finishes even if it's a remove request
Steps to Reproduce
Crete collection
Enable indexing or other long optimization process
Try to re-create collection while optimization is still running
Request is not finished until optimization runs
Expected Behavior
Collection removed immediately
Possible Solution
Process finished handles
Implement a JoinHandle wrapper, which could be checked if it is finished
Implement removing of finished handles before each new optimization scheduting
Handle optimization shutdown
Implement a stop-flag ( as AtomicBool) which could be flipped if it is required to stop optimization
Optimization thread should check for the flag value periodically, and if it is flipped - exit the optimization and restore segment states (unwrap proxy, release locks, e.t.c.)
Flip the flag on collection drop & on config update, gracefully wait for optimizations to finish
The text was updated successfully, but these errors were encountered:
generall
changed the title
Collection remove times opt while optimization is in process
Collection remove times-out while optimization is in process
Jun 7, 2021
* implement checking stop-flag in the optimization routine
* wip: optimization cancel test
* force optimization stop during the construction of vector index
* fix clippy
Current Behavior
Collection update request awaits for optimizer finishes even if it's a remove request
Steps to Reproduce
Expected Behavior
Collection removed immediately
Possible Solution
The text was updated successfully, but these errors were encountered: