Does cluster reject queries when rolling restart?

(Joe C) #1

Here is the post of rolling restarts:

Does it affect any queries running during this process? The process does not explicitly let clusters know a node will be killed, but only stop sync and rebalancing. Are existing queries rejected or retried?

There is another option
"transient": {
which can 'disable' a node to restart and rebalance data. Is this one better than the approach the link says?

(Mark Walkom) #2

If they are running on a node that is restarted they will return an error.

(Joe C) #3

@warkolm The other option is by using transient.cluster.routing.allocation.exclude._ip to force the cluster to relocate all shards on a node to restart to other machines, and then restarting the node. Will this introduce less-errors?

(Mark Walkom) #4

Yes, but will take more time.

(system) #5

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