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

Andrzej Bialecki  commented on SOLR-12356:
------------------------------------------

In other words, these are the main concerns and the answers:
* when do we create the collection?
** it's too late to do this on first use because first updates will always fail
** CollectionsHandler can automatically create this collection when the first 
collection is created.
** users can opt out of having this collection (by setting a property using 
cluster properties API), and components should handle the absence of this 
collection gracefully. In any case the cost of this collection should be 
negligible.
* how many replicas to create and what will be their placement?
** use a configurable default RF eg. 3, unless there are fewer nodes in the 
cluster (then the limit is the number of nodes)
** use {{AutoAddReplicasPlanAction}} to automatically increase the number of 
replicas to the desired RF as more nodes are added
** use autoscaling preferences to automatically place replicas on different 
physical nodes
* how to control the size of the collection as new documents are being added?
** we could use the {{.scheduled_maintenance}} trigger with an action that 
periodically prunes the collection based either on index size or time-to-live 
criteria.

> Always auto-create ".system" collection when in SolrCloud mode
> --------------------------------------------------------------
>
>                 Key: SOLR-12356
>                 URL: https://issues.apache.org/jira/browse/SOLR-12356
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Andrzej Bialecki 
>            Priority: Major
>
> The {{.system}} collection is currently used for blobs, and in SolrCloud mode 
> it's also used for autoscaling history and as a metrics history store 
> (SOLR-11779). It should be automatically created on Overseer start if it's 
> missing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to