lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1229411 - /lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java
Date Mon, 09 Jan 2012 22:53:45 GMT
Author: markrmiller
Date: Mon Jan  9 22:53:45 2012
New Revision: 1229411

URL: http://svn.apache.org/viewvc?rev=1229411&view=rev
Log:
should be retry = true

Modified:
    lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java

Modified: lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java?rev=1229411&r1=1229410&r2=1229411&view=diff
==============================================================================
--- lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java
(original)
+++ lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java
Mon Jan  9 22:53:45 2012
@@ -108,7 +108,7 @@ public class ZkCmdExecutor {
   public void ensureExists(final String path, final byte[] data,
       CreateMode createMode, final SolrZkClient zkClient) throws KeeperException, InterruptedException
{
     
-    if (zkClient.exists(path, false)) {
+    if (zkClient.exists(path, true)) {
       return;
     }
     try {



Mime
View raw message