uschindler commented on issue #15068:
URL: https://github.com/apache/lucene/issues/15068#issuecomment-3190971672

   > The tests seem to pass with the ref counting trick for me. Maybe Mike's 
repro will fail though - something worth trying.
   > Oh, sorry. I checked this on main, not 9x. Maybe it'll help to diagnose 
the issue on 9x though!
   
   Actually the reason for the above issue is already known in 9.x, it is 
because the .si files are not opened with READONCE.
   
   Helping to diagnose leaking shared arenas may help people in #15054, 
although I don't think the OpenSearch issue is really related to a bug in those 
reference counting, it is just that they have too many mappings from the 
beginning and when using MMapDircetory for replication, too (which I don't 
uderstand why they do this), its a problem in OS and not Lucene. The Lucene 
directory abstractions are optimized to read/write indexes (random access) but 
mmap is not made for sequential access to copy data over the wire. You can do 
this with READONCE but then you have to live with the fact that it needs to be 
single-threaded.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to