Just Pushed: Allow to disable shard allocations

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

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: Allow to disable shard allocations · Issue #1358 · elastic/elasticsearch · GitHub. 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

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: Allow to disable shard allocations · Issue #1358 · elastic/elasticsearch · GitHub.
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

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: Allow to disable shard allocations · Issue #1358 · elastic/elasticsearch · GitHub.
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