# Rolling Restart doubt

**URL:** <https://discuss.elastic.co/t/rolling-restart-doubt/315429>\
**Category:** Elasticsearch\
**Created:** [September 29, 2022, 7:21am UTC](https://discuss.elastic.co/t/rolling-restart-doubt/315429 "2022-09-29T07:21:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-elk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s-elk/32/98464_2.png) [@S-elk](https://discuss.elastic.co/u/S-elk)\
**Post date:** [September 29, 2022, 7:21am UTC](https://discuss.elastic.co/t/rolling-restart-doubt/315429/1 "2022-09-29T07:21:37Z")

</div>

hello! i have a cluster with 20 data nodes, 3 masters and 2 ml.

We want to do a rolling restart so that there is no loss of service. i know the method to follow....

disable shard allocation, temporarily stop ml jobs, restart node per node, etc....

but I have the doubt if when restarting the chosen master node I will have loss of service or the high availability of the 3 nodes avoids this and how.

Thanks in advance!  
Best regards

---

<div class="post-metadata">

**Author:** ![Magor\_Balassy](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Magor\_Balassy](https://discuss.elastic.co/u/Magor_Balassy)\
**Post date:** [September 29, 2022, 7:32am UTC](https://discuss.elastic.co/t/rolling-restart-doubt/315429/2 "2022-09-29T07:32:57Z")

</div>

If you do a rolling restart, in normal conditions during master elections nodes will serve reads requests and indexing requests will wait (but not return) for a new master to be elected. Master election takes between 3 to 5 seconds. If you have a test cluster, you could run a test and see how this happens.

---

<div class="post-metadata">

**Author:** ![S-elk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s-elk/32/98464_2.png) [@S-elk](https://discuss.elastic.co/u/S-elk)\
**Post date:** [September 29, 2022, 7:49am UTC](https://discuss.elastic.co/t/rolling-restart-doubt/315429/3 "2022-09-29T07:49:01Z")

</div>

first of all thank you for the answer!  
If I understand you correctly, there is no cut because the requests, indexing etc. are not rejected, they remain on hold and therefore it would not be a cut but a small delay of 3 seconds. Is it like that ?

Anyway, as you said, I'll check before in dev.

---

<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:** [October 27, 2022, 7:49am UTC](https://discuss.elastic.co/t/rolling-restart-doubt/315429/4 "2022-10-27T07:49:55Z")

</div>

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