Question about es shards

Hello:
Q1.Do the shards auto relocate to other nodes when a node failure or shutdown?

Q2.How can I monitor the unassigned shards progress of allocation?

Thanks for all your help

Hi,

  1. Yes if other nodes have space available and satisfy rack constraints
  2. The easier way is the cluster API, for instance cluster health endpoint and pending tasks.