mirror of https://github.com/apache/lucene.git
SOLR-13429: HashBasedRouter logs the entire state.json when a slice is not found
This commit is contained in:
parent
ced0243a3e
commit
25bd1cbb82
|
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue