dsmiley commented on a change in pull request #2066:
URL: https://github.com/apache/lucene-solr/pull/2066#discussion_r520058820



##########
File path: solr/core/src/java/org/apache/solr/core/SolrCores.java
##########
@@ -536,7 +538,9 @@ public void queueCoreToClose(SolrCore coreToClose) {
    * @return the cache holding the transient cores; never null.
    */
   public TransientSolrCoreCache getTransientCacheHandler() {

Review comment:
       I think it should be a prerequisite that the caller acquire the lock 
a-priori.  For example, close() seems to need to keep holding this lock to call 
close() on it.




----------------------------------------------------------------
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.

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