Easiest way is to drop the replicas and then re-add them. Regards, Mark Walkom
Infrastructure Engineer Campaign Monitor email: [email protected] web: www.campaignmonitor.com On 5 September 2014 08:30, daa qqu <[email protected]> wrote: > Hello everyone, > > I am new to ES and need some help with it: > > - Elasticsearch version 1.0.1 ( I know I need to upgrade!) > - Two node cluster > - Cluster state yellow for last couple of hours > - Two shards in INITIALIZING state. > - One shard UNASSIGNED > > wl-2014.09.04 is an active index with new documents being indexing to the > primary shards but the replicas are not in a healthy state. > > What do I need to do to bring this cluster to a healthy state? > > /_cat/recovery > > > index shard target recovered percent host ip node > wl-2014.09.04 0 973517301 969375940 99.6% hostxx 10.xxx.xxx.xxx node1 > wl-2014.09.04 2 969558534 962868164 99.3% hostxx 10.xxx.xxx.xxx node2 > > > > /_cat/indices/wl-2014.09.04 > > health index pri rep docs.count docs.deleted store.size pri.store.size > yellow wl-2014.09.04 5 1 3452017 0 6.6gb 4.7gb > > > > /_cat/shards > > wl-2014.09.04 2 r UNASSIGNED > wl-2014.09.04 0 r INITIALIZING 10.xxx.xxx.xxx node1 > wl-2014.09.04 1 r INITIALIZING 10.xxx.xxx.xxx node2 > > > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAO4Z2jC4K33xo498%2B3iag_APGaSDZKZ4HyFHODDGc-bxwdEmeg%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAO4Z2jC4K33xo498%2B3iag_APGaSDZKZ4HyFHODDGc-bxwdEmeg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624bvVJvnUYzQ6djyBYPQH62cgESdQJ9FyUxvT0Rc-j%2BxUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
