Context aware shard distribution across nodes


(Tanner Bruce) #1

Hello,

I have a number of indices where I would like elasticsearch to disperse the shards across all data nodes as much as possible. Is this possible?


(Mark Walkom) #2

It does that by default.

https://www.elastic.co/guide/en/elasticsearch/reference/5.6/allocation-awareness.html may also be something you could use if this is for redundancy purposes.


(Tanner Bruce) #3

Hi Mark,

Sorry, I phrased that badly. What I mean to say is I would like to have elasticsearch make extra effort distributing, say, all indices that match the regex 'data_.*' so that the shards in those indices will be spread across the cluster.

As it stands elasticsearch distributes all indices equally. What I would like to have it do is have it first distribute indices that match the regex (so they are spread out on the cluster as much as possible) and then have the rest distributed among the remaining space. So you could say my group of indices, 'data_.*' would be the most distributed

In the end it is just helping elasticsearch spread the load via a bit of context-awareness on my indices


(system) #4

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