Autoscaling on hosted elastic

Hi,

I am using hosted es with v 11.1.2. I am having two nodes with 1 primary shard and 1 replica shard in each node. (for 1 index- 1 primary and 1 replica shard)

Autoscaling is enabled for clusters. During autoscaling, a new node will be added will it increase no. of shards for an index so that they can get distributed to new nodes?

Hi @Divyank_Mahalle

Elastic Cloud (official hosted Elasticsearch) does not have a version 11.1.2 so I am a bit confused.

With respect to your question, assuming you are using Elastic Cloud today, auto scale adds new node(s). In general it does not change the number of shards. It will just simply re-balances the existing shards primaries and replicas across the new node(s).

However, There is a setting that can allow auto expand the replicas if so desired

This will expand the replicas but not change the number of primaries

index.auto_expand_replicas

Details on this page This will expand the replicas but not change the number of primaries

1 Like

Hi @stephenb,
Thanks for prompt support as always.

Silly typo mistake, apologies es v is 7.11.2

image

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