Re: [EXTERNAL] Autoscaling simulation error

2019-12-23 Thread Cao, Li
Thank you for creating the JIRA! Will follow

On 12/19/19, 11:09 AM, "Andrzej Białecki"  wrote:

Hi,

Thanks for the data. I see the problem now - it’s a bug in the simulator. I 
filed a Jira issue to track and fix it: SOLR-14122.

> On 16 Dec 2019, at 19:13, Cao, Li  wrote:
>
>> I am using solr 8.3.0 in cloud mode. I have collection level autoscaling 
policy and the collection name is “entity”. But when I run autoscaling 
simulation all the steps failed with this message:
>>
>>   "error":{
>> "exception":"java.io.IOException: 
java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: 
org.apache.solr.common.SolrException: Could not find collection : 
entity/shards",
>> "suggestion":{
>>   "type":"repair",
>>   "operation":{
>> "method":"POST",
>> "path":"/c/entity/shards",
>> "command":{"add-replica":{
>> "shard":"shard2",
>> "node":"my_node:8983_solr",
>> "type":"TLOG",
>> "replicaInfo":null}}},





Re: [EXTERNAL] Autoscaling simulation error

2019-12-19 Thread Andrzej Białecki
Hi,

Thanks for the data. I see the problem now - it’s a bug in the simulator. I 
filed a Jira issue to track and fix it: SOLR-14122.

> On 16 Dec 2019, at 19:13, Cao, Li  wrote:
> 
>> I am using solr 8.3.0 in cloud mode. I have collection level autoscaling 
>> policy and the collection name is “entity”. But when I run autoscaling 
>> simulation all the steps failed with this message:
>> 
>>   "error":{
>> "exception":"java.io.IOException: 
>> java.util.concurrent.ExecutionException: 
>> org.apache.solr.common.SolrException: org.apache.solr.common.SolrException: 
>> Could not find collection : entity/shards",
>> "suggestion":{
>>   "type":"repair",
>>   "operation":{
>> "method":"POST",
>> "path":"/c/entity/shards",
>> "command":{"add-replica":{
>> "shard":"shard2",
>> "node":"my_node:8983_solr",
>> "type":"TLOG",
>> "replicaInfo":null}}},