Beihao-Zhou commented on issue #2481:
URL: https://github.com/apache/kvrocks/issues/2481#issuecomment-2283097262

   > Thank you for looking into this!
   > 
   > I agree that it's likely related to rocksdb concurrency and transaction 
management. However, besides ensuring the consistency of rocksdb snapshots, do 
we need to consider anything else when constructing HNSW indexes in multiple 
threads? Should we also introduce some locks?
   
   Yea introducing locks sounds good to me. Also I think this is probably a 
common issue for all index rather than only HNSW (including text index in the 
future if also using quite complicated algorithm?), so we probably want to have 
a lock mechanism applicable for all. I'll look into it these two days, and open 
a new issue to discuss my idea & ask for suggestions if needed 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to