lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1536500 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/core/ solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
Date Mon, 28 Oct 2013 20:12:23 GMT
Author: markrmiller
Date: Mon Oct 28 20:12:23 2013
New Revision: 1536500

URL: http://svn.apache.org/r1536500
Log:
SOLR-5397: Move the call to obtain a ConcucrrentSolrServer into try catch block

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java

Modified: lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java?rev=1536500&r1=1536499&r2=1536500&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
(original)
+++ lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
Mon Oct 28 20:12:23 2013
@@ -202,8 +202,8 @@ public class SolrCmdDistributor {
       return;
     }
     
-    SolrServer solrServer = servers.getSolrServer(req);
     try {
+      SolrServer solrServer = servers.getSolrServer(req);
       NamedList<Object> rsp = solrServer.request(req.uReq);
     } catch (Exception e) {
       SolrException.log(log, e);



Mime
View raw message