[ https://issues.apache.org/jira/browse/SOLR-5209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094456#comment-15094456 ]
ASF GitHub Bot commented on SOLR-5209: -------------------------------------- Github user cpoerschke commented on the pull request: https://github.com/apache/lucene-solr/pull/118#issuecomment-171007162 SOLR-5209 committed to trunk yesterday (https://svn.apache.org/r1724098). > last replica removal cascades to remove shard from clusterstate > --------------------------------------------------------------- > > Key: SOLR-5209 > URL: https://issues.apache.org/jira/browse/SOLR-5209 > Project: Solr > Issue Type: Bug > Components: SolrCloud > Affects Versions: 4.4 > Reporter: Christine Poerschke > Assignee: Christine Poerschke > Priority: Blocker > Fix For: Trunk, 6.0 > > Attachments: SOLR-5209.patch, SOLR-5209.patch > > > The problem we saw was that unloading of an only replica of a shard deleted > that shard's info from the clusterstate. Once it was gone then there was no > easy way to re-create the shard (other than dropping and re-creating the > whole collection's state). > This seems like a bug? > Overseer.java around line 600 has a comment and commented out code: > // TODO TODO TODO!!! if there are no replicas left for the slice, and the > slice has no hash range, remove it > // if (newReplicas.size() == 0 && slice.getRange() == null) { > // if there are no replicas left for the slice remove it -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org