lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slackhappy <...@git.apache.org>
Subject [GitHub] lucene-solr pull request #321: SOLR-11932 Retry ZkOperation on SessionExpire...
Date Tue, 06 Feb 2018 04:21:07 GMT
Github user slackhappy commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/321#discussion_r166184184
  
    --- Diff: solr/solrj/src/java/org/apache/solr/common/cloud/SolrZkClient.java ---
    @@ -241,7 +241,7 @@ public void delete(final String path, final int version, boolean retryOnConnLoss
           throws InterruptedException, KeeperException {
         if (retryOnConnLoss) {
           zkCmdExecutor.retryOperation(() -> {
    -        keeper.delete(path, version);
    +        getSolrZooKeeper().delete(path, version);
    --- End diff --
    
    switched all retry operations to resolve `keeper` at call time (so a retry will re-resolve
the object)


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message