Indexing while relocating shards / reballance


(Bruno Lavoie) #1

Hello,

Basic question: is Elasticsearch able to index while there is some relocating / reballance operation?

We have a write heavy cluster for a central log service, using logstash from many sources. As you probably know, there is an index for each day. Maybe it's ok to reballance the cluster for shards older than one day, but I saw this happening for the current indexing day.

If reballance operation makes indexing trouble, how to disable shard balancing for the current day indexes?

Thanks in advance
Bruno Lavoie


(Magnus B├Ąck) #2

ES will continue to serve queries and index new data even if shards are being moved around.


(Bruno Lavoie) #3

Thanks

Even if it is a primary shard?

Bruno


(Nik Everett) #4

Relocation is always done from the primary. Actions are replayed on the
target.


(system) #5