matrixone
matrixone copied to clipboard
[Bug]: index cache return error when NewAlgo in one thread and Remove by another thread
Is there an existing issue for the same bug?
- [x] I have checked the existing issues.
Branch Name
main
Commit ID
fe482dca6fd2f3460d95a1ea861001a907555501
Other Environment Information
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
index cache return "destroyed" error when NewAlgo first stored in one thread and Remove by another thread
Expected Behavior
expect no error.
Steps to Reproduce
run search in one thread and run Remove() in another thread. See the unittest case.
Additional information
No response
After bug fix, report from gemini.
verify and done.