shalinmangar commented on issue #1152: SOLR-14172: Collection metadata remains 
in zookeeper if too many shards requested
URL: https://github.com/apache/lucene-solr/pull/1152#issuecomment-577585953
 
 
   Thanks @asalamon74 for the PR. This bug is my fault. I think it is best to 
change the SolrException being thrown inside `buildReplicaPositions` to an 
`AssignmentException`. After all it is the intended use of that exception. 
Also, the SolrException thrown in the catch clause inside 
CreateCollectionCmd.call should be a bad request instead of a server error as 
it is today. I'll put up a patch on Jira with these changes and commit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to