[ 
https://issues.apache.org/jira/browse/SOLR-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699583#comment-13699583
 ] 

Otis Gospodnetic commented on SOLR-4998:
----------------------------------------

bq. Slice: The higher level, logical representation.

But of what? :)
A Slice represents a set of shards: the leader shard + all its replicas in a 
Collection.

{quote}
Collection has Slices
Slices have Shards
{quote}

And I thought it's:
# Cluster has Collections
# Collections are Logical Indices
# Collection has Shards
# Shards are Physical Indices
# A Shard can be a Leader or a Replica
# Leader/Replica are just Roles a Shard can have
# A Replica can become a Leader through election if previous Leader goes away
# Collection has Slices
# A Slice is a Logical Set of Shards containing the Leader + all its Replicas
# A Slice has as many Shards as the Collection's "numShards"

If this is right, it deserves a Wiki page.
If this is wrong, it needs a fix and then a Wiki page.

                
> Make the use of Slice and Shard consistent across the code and document base
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-4998
>                 URL: https://issues.apache.org/jira/browse/SOLR-4998
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 4.3, 4.3.1
>            Reporter: Anshum Gupta
>
> The interchangeable use of Slice and Shard is pretty confusing at times. We 
> should define each separately and use the apt term whenever we do so.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to