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/10/28 18:38:10 UTC
[lucene-solr] branch reference_impl_dev updated: @1055 Try a sleep
but shorter.
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 4c9575b @1055 Try a sleep but shorter.
4c9575b is described below
commit 4c9575b2d9e62e7f4d79eb2eb51cb7d087ba1dd8
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Oct 28 13:32:58 2020 -0500
@1055 Try a sleep but shorter.
---
solr/core/src/java/org/apache/solr/schema/ManagedIndexSchema.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/solr/core/src/java/org/apache/solr/schema/ManagedIndexSchema.java b/solr/core/src/java/org/apache/solr/schema/ManagedIndexSchema.java
index e22525a..a7521eb 100644
--- a/solr/core/src/java/org/apache/solr/schema/ManagedIndexSchema.java
+++ b/solr/core/src/java/org/apache/solr/schema/ManagedIndexSchema.java
@@ -404,6 +404,7 @@ public final class ManagedIndexSchema extends IndexSchema {
}
// rather than waiting and re-polling, let's be proactive and tell the replica
// to refresh its schema from ZooKeeper, if that fails, then the
+ Thread.sleep(50); // slight delay before requesting version again
log.info("Replica {} returned schema version {} and has not applied schema version {}"
, coreUrl, remoteVersion, expectedZkVersion);
}