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 2020/09/07 20:28:01 UTC
[lucene-solr] branch reference_impl_dev updated: @782 Remove this,
incorrect. Maybe it comes back later correctly.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 0a0a29a @782 Remove this, incorrect. Maybe it comes back later correctly.
0a0a29a is described below
commit 0a0a29ab6b4feb7f05b74872706573c773a2dcb1
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Sep 7 15:27:43 2020 -0500
@782 Remove this, incorrect. Maybe it comes back later correctly.
---
.../org/apache/solr/common/cloud/CollectionProperties.java | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/CollectionProperties.java b/solr/solrj/src/java/org/apache/solr/common/cloud/CollectionProperties.java
index 9ea7d17..54e2064 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/CollectionProperties.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/CollectionProperties.java
@@ -118,19 +118,6 @@ public class CollectionProperties {
client.create(znodePath, Utils.toJSON(properties), CreateMode.PERSISTENT, true);
}
- if (version > -1) {
- int finalVersion = version;
- try {
- zkStateReader.waitForState(collection, 5, TimeUnit.SECONDS, (liveNodes, collectionState) -> {
- if (collectionState != null && collectionState.getZNodeVersion() >= finalVersion) {
- return true;
- }
- return false;
- });
- } catch (TimeoutException e) {
- throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, e);
- }
- }
} catch (KeeperException.BadVersionException e) {
//race condition
try {