searchguard index not replicated on every node due to node attribute awareness

My questions deal with Searchguard and the replication factor.

I’m in a situation where I don’t manage to replicate the searchguard index on every nodes due to node attributes awareness at cluster level (see https://discuss.elastic.co/t/disable-cluster-routing-allocation-same-shard-host-true-for-a-particular-index/164172 ).

AFAIK, it’s impossible to disable “cluster.routing.allocation.awareness.attributes” parameter for a specific index. (but I may be mistaken…)

So, I have to reduce the replication factor of the searchguard index manually ; otherwise, the searchguard index state, and so the cluster state, will stay YELLOW.

Questions:

  • does the non-allocation of the searchguard index on each node represent a serious performance issue?
  • how do you handle this kind of situation?
    Any solution or suggestion will be appreciated.

Thanks!

pls have a look here

https://github.com/floragunncom/search-guard/issues/565

  • does the non-allocation of the searchguard index on each node represent a serious performance issue?

no

  • how do you handle this kind of situation?

To solve this disable the auto-expand replicas feature of the searchguard index and set the number of replicas manually.
You can also keep the auto-expand replicas feature and set it to "0-n" where n is the number of datanodes-2.

···

Am 14.01.2019 um 18:03 schrieb Sylvain <sguyomarch86@gmail.com>:

My questions deal with Searchguard and the replication factor.

I'm in a situation where I don't manage to replicate the searchguard index on every nodes due to node attributes awareness at cluster level (see https://discuss.elastic.co/t/disable-cluster-routing-allocation-same-shard-host-true-for-a-particular-index/164172 ).

AFAIK, it's not possible to disable "cluster.routing.allocation.awareness.attributes" parameter for a specific index. (but I may be mistaken...)

So, I have to reduce the replication factor of the searchguard index manually ; otherwise, the searchguard index state, and so the cluster state, willl stay YELLOW.

Questions:
  • does the non-allocation of the searchguard index on each node represent a serious performance issue?
  • how do you handle this kind of situation?
Any solution or suggestion will be appreciated.

Thanks!

--
You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/7a7baecc-df72-42c9-b0d0-2f9d059e9db3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.