I added two new data nodes into a 4-node cluster. But I noticed that after I added the two new nodes, the new index (5 shards) is only allocated to the two new nodes. As meanwhile, it is balancing the old indices as well from other nodes to the two new nodes, and this causes the very high load for the two new nodes. But after all nodes are balanced( took hours), the shards are balanced to all nodes and the load is balanced across all data nodes. Can someone suggest what will be the best practice to avoid this?
I want to achieve the following results
- When new nodes are added, index ingestion is happening for all nodes, not just the newly added nodes. This is not good for the load and causes index ingestions to fail.
- In the background, it can balance the shards, but not with a high priority.
Thanks