# Restart the master node cause 3 seconds unavailable for query and indexing

**URL:** <https://discuss.elastic.co/t/restart-the-master-node-cause-3-seconds-unavailable-for-query-and-indexing/79735>\
**Category:** Elasticsearch\
**Created:** [March 23, 2017, 11:31am UTC](https://discuss.elastic.co/t/restart-the-master-node-cause-3-seconds-unavailable-for-query-and-indexing/79735 "2017-03-23T11:31:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayqie](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jayqie](https://discuss.elastic.co/u/jayqie)\
**Post date:** [March 23, 2017, 11:31am UTC](https://discuss.elastic.co/t/restart-the-master-node-cause-3-seconds-unavailable-for-query-and-indexing/79735/1 "2017-03-23T11:31:02Z")

</div>

When I want to restart the master node, it'll always cause the cluster unavailable for query and indexing requests for 3 seconds. Even though I have three master nodes, it still need 3 seconds to elect a new master. How can I restart the cluster without any influence on the request and indexing process?

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [March 23, 2017, 3:33pm UTC](https://discuss.elastic.co/t/restart-the-master-node-cause-3-seconds-unavailable-for-query-and-indexing/79735/2 "2017-03-23T15:33:24Z")

</div>

> [@jayqie](#):
>
> it'll always cause the cluster unavailable for query and indexing requests for 3 seconds

Queries are served during this time, and indexing requests only block waiting for a new master, up to a timeout.

> [@jayqie](#):
>
> How can I restart the cluster without any influence on the request and indexing process?

You can not, but as I explained above, queries should still be served, and indexing requests should only block briefly.

---

<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:** [April 20, 2017, 3:33pm UTC](https://discuss.elastic.co/t/restart-the-master-node-cause-3-seconds-unavailable-for-query-and-indexing/79735/3 "2017-04-20T15:33:29Z")

</div>

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