bruno-roustant opened a new pull request, #3283: URL: https://github.com/apache/solr/pull/3283
https://issues.apache.org/jira/browse/SOLR-17716 SolrCores.waitAddPendingCoreOps is the main locking mechanism for operations on cores like creation/loading/removal. In the current code, if an InterruptedException is caught while waiting for the lock, the method returns null. However returning null means basically that the waiting is complete and the caller got the lock. So the caller code proceeds normally with its critical operation on the core. We should handle differently an InterruptedException to prevent the caller from taking the lock while another pending op is on the core. The proposal is to throw a SolrException. -- 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...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org