You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2008/12/18 22:37:44 UTC

[jira] Updated: (SOLR-930) SolrCore.close() : Warn in the logger when the internal reference count is > 0

     [ https://issues.apache.org/jira/browse/SOLR-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kay Kay updated SOLR-930:
-------------------------

    Attachment: SOLR-930.patch

--- src/java/org/apache/solr/core/SolrCore.java	(revision 727831)

   public void close() {
     int count = refCount.decrementAndGet();
-    if (count > 0) return;
+    if (count > 0) {
+      log.warn("Attempted close on " + this + " did not succeed because the new reference count " + count + " is > 0. ");
+      return;
+    }


> SolrCore.close() : Warn in the logger when the internal reference count is > 0
> ------------------------------------------------------------------------------
>
>                 Key: SOLR-930
>                 URL: https://issues.apache.org/jira/browse/SOLR-930
>             Project: Solr
>          Issue Type: Improvement
>         Environment: Java 6, Tomcat 6 
>            Reporter: Kay Kay
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: SOLR-930.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> SolrCore.close() -> Add a warning statement when the internal reference count is > 0. ( as opposed to 0, as expected ) - 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.