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

(Michael Conlon) #1

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?

(Nik Everett) #2

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

(Michael Conlon) #3

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?

(Mark Walkom) #4

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.

(Michael Conlon) #5

makes sense. thank you!

(system) #6

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