Does cluster reject queries when rolling restart?

Here is the post of rolling restarts:

https://www.elastic.co/guide/en/elasticsearch/guide/master/_rolling_restarts.html

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": {
"cluster.routing.allocation.exclude._ip":
}
which can 'disable' a node to restart and rebalance data. Is this one better than the approach the link says?

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

@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?

Yes, but will take more time.

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