# How to clear transient settings with zero downtime? (2.4)

**URL:** <https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089>\
**Category:** Elasticsearch\
**Created:** [December 5, 2016, 6:44pm UTC](https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089 "2016-12-05T18:44:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mconlon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mconlon/32/13617_2.png) [@mconlon](https://discuss.elastic.co/u/mconlon)\
**Post date:** [December 5, 2016, 6:44pm UTC](https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089/1 "2016-12-05T18:44:17Z")

</div>

I have some transient cluster settings I want to clear out. I understand that I need to do a cluster restart for these settings to be cleared in 2.4, but I want to find a way to do this with zero downtime.  
My production cluster is 30 data nodes with 3 master nodes.

Testing the process on a smaller cluster with 2 data nodes and 1 master nodes resulted in no change of the transient settings after restarting both data nodes one by one. Only when the sole master node is restarted (downtime) do the transient settings go away.

I thought I just had to restart all of my master nodes, but doing this one by one in production yielded no change to the transient settings.

Is there any way to clear the transient settings with zero downtime, or do all my master nodes have to be down at the same time? If I restart every node in the cluster one by one, including the master nodes, will that clear the transient settings?

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [December 5, 2016, 7:06pm UTC](https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089/2 "2016-12-05T19:06:55Z")

</div>

In 5.0+ you can clear them by setting them to null. There isn't a way in  
2.x.

---

<div class="post-metadata">

**Author:** ![mconlon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mconlon/32/13617_2.png) [@mconlon](https://discuss.elastic.co/u/mconlon)\
**Post date:** [December 5, 2016, 8:13pm UTC](https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089/3 "2016-12-05T20:13:39Z")

</div>

I'm aware of the ability to clear in 5.0 by setting them to null. Are you saying there isn't a way to clear them in 2.x, or just that there isn't a way to clear them _with zero downtime_?

---

<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 5, 2016, 8:22pm UTC](https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089/4 "2016-12-05T20:22:54Z")

</div>

> [@mconlon](#):
>
> there isn't a way to clear them with zero downtime?

This. Because unless you restart all the nodes, there will always be one that still holds these settings and it will propagate them to the rest of the nodes once they join.

---

<div class="post-metadata">

**Author:** ![mconlon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mconlon/32/13617_2.png) [@mconlon](https://discuss.elastic.co/u/mconlon)\
**Post date:** [December 5, 2016, 8:50pm UTC](https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089/5 "2016-12-05T20:50:19Z")

</div>

makes sense. thank you!

---

<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 2, 2017, 8:50pm UTC](https://discuss.elastic.co/t/how-to-clear-transient-settings-with-zero-downtime-2-4/68089/6 "2017-01-02T20:50:41Z")

</div>

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