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

Gus Heck commented on SOLR-13150:
---------------------------------

Elsewhere Moshe asked: 

Should max cardinality have a default value, or should it be a required 
parameter?
I'm not sure whether it should be an optional parameter.
[~gus_heck],
WDYT?

My inclination is to make it required. The user can always set it to 99999 or 
whatever if they like, but then they can't complain that they wound up with 
99999 collections and their overseer node going on strike. We can support -1 
for fully unlimited too, but this feature is slightly dangerous without a 
sensible safety valve so I'd like the user to actively consider the 
implications and opt in to the danger. If we did default it I'd make it 
something small like 5-10 for safety, but most people will probably change that.

 

> Enforce a max cardinality on category routed aliases
> ----------------------------------------------------
>
>                 Key: SOLR-13150
>                 URL: https://issues.apache.org/jira/browse/SOLR-13150
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: UpdateRequestProcessors
>    Affects Versions: master (9.0)
>            Reporter: Gus Heck
>            Priority: Major
>
> This ticket will add the check to enforce a (configurable) maximum number of 
> collections in a category routed alias. The purpose of this check is to 
> provide a safety valve to ensure that unexpected data values don't cause 
> run-away collection creation. This check should happen within the 
> validateRouteValue() method specified by RoutedAlias



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to