You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Cassandra Targett (Jira)" <ji...@apache.org> on 2021/08/13 18:23:00 UTC
[jira] [Resolved] (SOLR-14145) Failed to restore collection when
cluster autoscaling policy is applied
[ https://issues.apache.org/jira/browse/SOLR-14145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassandra Targett resolved SOLR-14145.
--------------------------------------
Resolution: Won't Fix
The autoscaling framework has been removed from Solr, so resolving this as a Won't Fix.
> Failed to restore collection when cluster autoscaling policy is applied
> -----------------------------------------------------------------------
>
> Key: SOLR-14145
> URL: https://issues.apache.org/jira/browse/SOLR-14145
> Project: Solr
> Issue Type: Bug
> Affects Versions: 7.4
> Environment: [^collection_state.json]
> Reporter: yuan zhao
> Priority: Major
> Attachments: collection_state.json
>
>
> My solr cluster respect the autoscaling policy as:
> {
> "set-cluster-policy" : [{
> "replica" : "<2",
> "shard" : "#EACH",
> "node" : "#ANY"
> }]
> }
> Steps to reproduce:
> # create a collection named "demo".
> # back up the collection.
> # we can find the collecion_state.json file from the backup path. And there is one line records "maxShardsPerNode":"1"
> # drop this collection "demo".
> # restore collection "demo", I will got the error message: `"'maxShardsPerNode>0' is not supported when autoScaling policies are used",`
> # if I change "maxShardsPerNode" to "0" or "-1", I will got error:`"Solr cloud with available number of nodes:2 is insufficient for restoring a collection with 1 shards, total replicas per shard 1 and maxShardsPerNode 2147483647. Consider increasing maxShardsPerNode value OR number of available nodes."`
> # if I delete "maxShardsPerNode" from collection_state.json, I will got error:`maxShardsPerNode is not in the cluster state.`
> I have attach the collection state file.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org