# Elastic replication after reboot

**URL:** https://discuss.elastic.co/t/elastic-replication-after-reboot/113155
**Category:** Elasticsearch
**Created:** [December 25, 2017, 3:15pm UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155 "2017-12-25T15:15:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Serg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/serg/32/47922_2.png) [@Serg](https://discuss.elastic.co/u/Serg)
#### Post date: [December 25, 2017, 3:15pm UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/1 "2017-12-25T15:15:06Z")

</div>

I have 2 nodes with replica factor 1.  
it's mean that I should have not less than 1 copy of indexes.

I had problems with 1 server and I stooped it and added new clean volume. after sync I found that not all indexes was recovered.  
Why ??

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [December 25, 2017, 10:37pm UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/2 "2017-12-25T22:37:25Z")

</div>

Did you check the logs to see what happened?

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [December 26, 2017, 12:41am UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/3 "2017-12-26T00:41:04Z")

</div>

> [@Serg](#):
>
> I had problems with 1 server and I stooped it and added new clean volume. after sync I found that not all indexes was recovered.
> 
> Why ??

show the cluster settings.  
1:replica pramiy  
2:replica replication

---

<div class="post-metadata">

### Author: ![Serg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/serg/32/47922_2.png) [@Serg](https://discuss.elastic.co/u/Serg)
#### Post date: [December 26, 2017, 7:51am UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/4 "2017-12-26T07:51:37Z")

</div>

> root@05elasticsearch:/etc/elasticsearch# curl -s -XGET '[http://localhost:9200/\_cat/indices?v&health=red](http://localhost:9200/_cat/indices?v&health=red)'  
> health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
> red open logstash-2017.12.16 aJYqdwCITLWxn6rZINEHeg 5 1  
> red open logstash-2017.12.22 0CpN6TU8SGuDpO3qvgsTjQ 5 1  
> red open logstash-2017.12.14 TF\_VzcRcQKSK8hFtBRzreA 5 1  
> red open logstash-2017.12.17 lZYLwn1rRmCcjA5j4bmGhA 5 1  
> red open logstash-2017.12.13 K4d4nZr6QSOIF7OFwfTuRg 5 1  
> red open logstash-2017.12.05 AgVIeZ2cQji5SSFlnmS8dw 5 1 3355604 0 2.8gb 2.8gb  
> red open logstash-2017.12.06 fZ1UTeLIQFuNwoS2Gh7WmA 5 1  
> red open logstash-2017.12.11 dMlJJSGVSPuempli1DG-BA 5 1  
> red open logstash-2017.12.12 8-4-zHFrT4SAFIp01lCZuQ 5 1  
> red open logstash-2017.12.18 GCt3d9vCSB6FrWnI8B9N6A 5 1  
> red open logstash-2017.12.21 2EWorvFVSk-lNeTV37XCMQ 5 1  
> red open logstash-2017.12.07 5pW99fYMRbeBY6VkXCnYCw 5 1  
> red open logstash-2017.12.19 0OrSQw5ARR-BA5BT7zbGBQ 5 1  
> red open logstash-2017.12.15 LnbvkPLjSayCHkiNnz8ZDA 5 1  
> red open logstash-2017.12.20 yaXoumtiQhiUgIJ7BsN51w 5 1  
> red open logstash-2017.12.09 uJGRYeqoTJSQYaRff3EpXQ 5 1  
> red open logstash-2017.12.08 w4ZHtPu4QhSy8UGeYv6oNA 5 1  
> red open logstash-2017.12.10 8lhihdywRiOb51Xu-eiy\_w 5 1

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 26, 2017, 7:53am UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/5 "2017-12-26T07:53:45Z")

</div>

Were all replica shards allocated when you shut down the node? Was the cluster in a green state?

---

<div class="post-metadata">

### Author: ![Serg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/serg/32/47922_2.png) [@Serg](https://discuss.elastic.co/u/Serg)
#### Post date: [December 26, 2017, 8:35am UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/6 "2017-12-26T08:35:19Z")

</div>

cluster was at green state, i could not tell exactly where it was, what i need now, it assign it to some node (i have 2)  
how could i do it ?

---

<div class="post-metadata">

### Author: ![vivek\_sharma1](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vivek\_sharma1](https://discuss.elastic.co/u/vivek_sharma1)
#### Post date: [December 26, 2017, 9:49am UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/7 "2017-12-26T09:49:28Z")

</div>

Great! Thank you for sharing.

regards  
Vivek Sharma  
Admin at [http://sharma-vivek.com/](http://sharma-vivek.com/)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 23, 2018, 9:49am UTC](https://discuss.elastic.co/t/elastic-replication-after-reboot/113155/8 "2018-01-23T09:49:49Z")

</div>

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