You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/01/09 23:53:45 UTC

svn commit: r1229411 - /lucene/dev/branches/solrcloud/solr/solrj/src/java/org/apache/solr/common/cloud/ZkCmdExecutor.java

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 {