Just Pushed: Allow to disable shard allocations


(Shay Banon) #1

Heya,

Just pushed support to allow to suspend shard allocation:
https://github.com/elasticsearch/elasticsearch/issues/1358. This can come in
handy when wanting to restart a node without shards being allocated as a
result of that (just don't forget to enable it back once the node has been
restarted).

-shay.banon


(Ludovic Levesque) #2

Hi,

in which way it affects the cluster status reported on
/_cluster/health, is it still green or still goes to yellow ?

Thanks,
Ludo

On Fri, Sep 23, 2011 at 4:38 PM, Shay Banon kimchy@gmail.com wrote:

Heya,
Just pushed support to allow to suspend shard
allocation: https://github.com/elasticsearch/elasticsearch/issues/1358. This
can come in handy when wanting to restart a node without shards being
allocated as a result of that (just don't forget to enable it back once the
node has been restarted).
-shay.banon


(Shay Banon) #3

It will be yellow, since not all shards will be allocated.

On Fri, Sep 23, 2011 at 6:05 PM, Ludovic Levesque luddic@gmail.com wrote:

Hi,

in which way it affects the cluster status reported on
/_cluster/health, is it still green or still goes to yellow ?

Thanks,
Ludo

On Fri, Sep 23, 2011 at 4:38 PM, Shay Banon kimchy@gmail.com wrote:

Heya,
Just pushed support to allow to suspend shard
allocation: https://github.com/elasticsearch/elasticsearch/issues/1358.
This
can come in handy when wanting to restart a node without shards being
allocated as a result of that (just don't forget to enable it back once
the
node has been restarted).
-shay.banon


(Ludovic Levesque) #4

Ok thanks

On Fri, Sep 23, 2011 at 5:39 PM, Shay Banon kimchy@gmail.com wrote:

It will be yellow, since not all shards will be allocated.

On Fri, Sep 23, 2011 at 6:05 PM, Ludovic Levesque luddic@gmail.com wrote:

Hi,

in which way it affects the cluster status reported on
/_cluster/health, is it still green or still goes to yellow ?

Thanks,
Ludo

On Fri, Sep 23, 2011 at 4:38 PM, Shay Banon kimchy@gmail.com wrote:

Heya,
Just pushed support to allow to suspend shard
allocation: https://github.com/elasticsearch/elasticsearch/issues/1358.
This
can come in handy when wanting to restart a node without shards being
allocated as a result of that (just don't forget to enable it back once
the
node has been restarted).
-shay.banon


(system) #5