Restart replication on elasticsearch 2.3.3 without restart


(Peter) #1

Hello I have an elasticsearch cluster 2.3.3 and the cluster stopped replicating because one of the nodes had the disk amost full. After I have solved the full disk issue the replication does not restart by itself. Is there a way to restart the replication without restarting the cluster? This is very important since it's handling production data.

Regards,
peter


(Peter) #2

I have removed the nodes which had disk issues and added some new nodes, but the cluster is not replicating to the new nodes.

curl localhost:19266/_cat/shards
kibana.rets.ci                3 p STARTED           0    160b 10.0.0.6 api.rets.ci-client-cluster-2 
kibana.rets.ci                3 r UNASSIGNED                                                        
kibana.rets.ci                4 p STARTED           2 803.3kb 10.0.0.6 api.rets.ci-client-cluster-2 
kibana.rets.ci                4 r UNASSIGNED                                                        
kibana.rets.ci                2 p STARTED           0    160b 10.0.0.6 api.rets.ci-client-cluster-2 
kibana.rets.ci                2 r UNASSIGNED                                                        
kibana.rets.ci                1 p STARTED           1  16.3kb 10.0.0.6 api.rets.ci-client-cluster-2 
kibana.rets.ci                1 r UNASSIGNED                                                        
kibana.rets.ci                0 p STARTED           0    160b 10.0.0.6 api.rets.ci-client-cluster-2 
kibana.rets.ci                0 r UNASSIGNED                  

as you can see the cluster has three nodes:

curl localhost:19266/_cat/nodes
10.0.0.11 10.0.0.11  2 76 0.33 d m api.rets.ci-client-cluster-4 
10.0.0.8  10.0.0.8   7 96 0.21 d m api.rets.ci-client-cluster-5 
10.0.0.6  10.0.0.6  46 93 0.28 d * api.rets.ci-client-cluster-2            

Any way I can force the cluster to replicate on the 2 new nodes?


(Peter) #3

I found out that the reason for which the new nodes were not replicating was the different version of elasticsearch


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.