Conversation
|
Am I right that this only resolves a panic in our recent release if top becomes 0? Out of curiosity; does that ever happen in practice, because we validate |
Yes, it resolves panic if I observed it when I was experimented with parallel read and write. Somehow an empty(!) HNSW segment got created, and here Upd: but I think it should be a rare event. |
|
It's good to protect against this anyway. Thank you for including tests! |
And add test for HNSW index search too.
* Add top==0 tests * Fix HNSW scan top==0 error
For an empty HNSW segment, sampling
topbecomes 0, andBatchFilteredSearcherdoesn't handle it properly, panicing.All Submissions:
devbranch. Did you create your branch fromdev?