knowhere
knowhere copied to clipboard
Try catch all exception in Knowhere to avoid threadpool crashes
Looks like we get many places didn't take care of the exception throwing like https://github.com/zilliztech/knowhere/blob/613f06f15597ff0abea79801c6995af5e2fb7713/src/common/comp/brute_force.cc#L136
We need to try catch is to avoid folly thread crash.
Originally posted by @liliu-z in https://github.com/zilliztech/knowhere/issues/802#issuecomment-2320623790