You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2018/05/23 10:44:00 UTC
[jira] [Commented] (SOLR-12387) Have cluster-wide defaults for
numShards, nrtReplicas, tlogReplicas, pullReplicas
[ https://issues.apache.org/jira/browse/SOLR-12387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487068#comment-16487068 ]
Andrzej Bialecki commented on SOLR-12387:
------------------------------------------
Cluster properties is a JSON map. I suggest using a proper nested hierarchy instead of prefixes, because prefixes can quickly become awkward as we keep adding new data there with more complex relationships between elements.
For example:
{code}
{
"defaults" : {
"collection": {
"numShards": 2,
"numNrtReplicas": 2,
}
}
}
{code}
> Have cluster-wide defaults for numShards, nrtReplicas, tlogReplicas, pullReplicas
> ---------------------------------------------------------------------------------
>
> Key: SOLR-12387
> URL: https://issues.apache.org/jira/browse/SOLR-12387
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Attachments: SOLR-12387.patch
>
>
> These will be cluster properties and the commands can omit these and the command would pick it up from the cluster properties
>
> the cluster property names are
> * {{default.numShards}}
> * {{default.nrtReplicas}}
> * {{default.tlogReplicas}}
> * {{default.pullReplicas}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org