Shard allocation on restarted node takes too long

  • Are you making use of synced flush?
  • Is there indexing activity while the node is down?

You could maybe increase cluster.routing.allocation.node_concurrent_recoveries to speed up the recovery (see here).