matrixone icon indicating copy to clipboard operation
matrixone copied to clipboard

[Bug]: index cache return error when NewAlgo in one thread and Remove by another thread

Open cpegeric opened this issue 7 months ago • 1 comments

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

cpegeric avatar Jun 16 '25 16:06 cpegeric

After bug fix, report from gemini.

Image

cpegeric avatar Jun 17 '25 13:06 cpegeric

verify and done.

cpegeric avatar Jul 02 '25 09:07 cpegeric