You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2019/04/29 20:09:39 UTC
[lucene-solr] branch branch_8x updated: SOLR-13429: HashBasedRouter
logs the entire state.json when a slice is not found
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new 94b9f7e SOLR-13429: HashBasedRouter logs the entire state.json when a slice is not found
94b9f7e is described below
commit 94b9f7ed1cf3d26fed340d777b4105766dd5c45f
Author: Noble Paul <no...@apache.org>
AuthorDate: Tue Apr 30 06:07:51 2019 +1000
SOLR-13429: HashBasedRouter logs the entire state.json when a slice is not found
---
solr/solrj/src/java/org/apache/solr/common/cloud/HashBasedRouter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/HashBasedRouter.java b/solr/solrj/src/java/org/apache/solr/common/cloud/HashBasedRouter.java
index 07f2d35..4ac4e51 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/HashBasedRouter.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/HashBasedRouter.java
@@ -64,7 +64,7 @@ public abstract class HashBasedRouter extends DocRouter {
Range range = slice.getRange();
if (range != null && range.includes(hash)) return slice;
}
- throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "No active slice servicing hash code " + Integer.toHexString(hash) + " in " + collection);
+ throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "No active slice servicing hash code " + Integer.toHexString(hash) + " in " + collection.getName());
}