vigyasharma opened a new pull request, #963: URL: https://github.com/apache/lucene/pull/963
In [LUCENE-10583](https://issues.apache.org/jira/browse/LUCENE-10583), our users ran into a deadlock for IndexWriter threads. This was because the application had acquired a lock on the MMapDirectory, which was preventing merge threads from cleaning up files and completing. The IndexWriter docstring does present a "Note", to use non-Lucene objects for locking, but no such warning was evident for the MMapDirectory. This PR is a small change to add a similar warning to MMapDirectory and Directory docstrings. -- 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