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

Noble Paul commented on SOLR-12356:
-----------------------------------

bq.use a configurable default RF eg. 3, unless there are fewer nodes in the 
cluster (then the limit is the number of nodes)
The default RF should be very high. By default, for a small cluster , there 
should be a replica of {{.system}} collection in every node. For a user of a 
small cluster , it's too much of a learning curve if his {{.system}} collection 
is not available 

bq.use AutoAddReplicasPlanAction to automatically increase the number of 
replicas to the desired RF as more nodes are added

I don't think a user should know anything about the autoscaling thing to use 
{{.system}} collection. We should define the default behavior and it should all 
happen behind the scenes. If replicas are to be created, they should be created 
automatically.

bq.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.

We should have a sensible default for the maximum index size of the {{.system}} 
collection. Something like 100mb sounds OK. Once it crosses this threshold, the 
system should automaticlly do the pruning.The user should not be exposed to the 
autoscaling framework at all for this pruning to happen

When I say we should not expose the user to the autoscaling framework, it's 
desirable to not even have an entry in the {{autoscaling.json}}. These can be 
implicit triggers which are automatically registered/unregistered based on 
presence/absence of certain cluster properties

> 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