This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch jira/solr16636_test
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/jira/solr16636_test by this
push:
new fd189de38bb debugging
fd189de38bb is described below
commit fd189de38bb9b9e88cd4f821bb5be687fc79327d
Author: Noble Paul <[email protected]>
AuthorDate: Wed Feb 8 15:56:30 2023 +1100
debugging
---
.../src/java/org/apache/solr/common/cloud/ZkStateReader.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
b/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
index c7173173ef2..348302d0b74 100644
---
a/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
+++
b/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
@@ -1706,6 +1706,7 @@ public class ZkStateReader implements SolrCloseable {
return null;
}
if (stat != null) {
+ if (stat.getVersion() > c.getZNodeVersion()) return null;
if (!c.isModified(stat.getVersion(), stat.getCversion())) {
// we have the latest collection state
return c;