SOLR-13429: HashBasedRouter logs the entire state.json when a slice is not found

This commit is contained in:
Noble Paul 2019-04-30 06:07:51 +10:00
parent ced0243a3e
commit 25bd1cbb82
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}