Deneme limitine takılan shard'ları yeniden ata (reroute retry_failed)
ElasticsearchCluster/NodeKomut
# Deneme sayisi ve son hata ayrintisi:
GET _cluster/allocation/explain?filter_path=index,shard,unassigned_info.reason,unassigned_info.failed_allocation_attempts,unassigned_info.details,allocate_explanation
# Nedeni giderdikten sonra limiti dolan shard'lari yeniden dene:
POST _cluster/reroute?retry_failed=true&metric=none
# Recovery ilerlemesi:
GET _cat/recovery?v&active_only=true&h=index,shard,stage,source_node,target_node,bytes_percent,translog_ops_percentNe yapar?
Ardışık hatalar yüzünden allocation denemesi durdurulmuş (ALLOCATION_FAILED, max_retry) shard'lar için hata ayrıntısını gösterir ve allocation'ı yeniden tetikler; recovery ilerlemesini izler.
Ne zaman kullanılır?
allocation explain çıktısında 'shard has exceeded the maximum number of retries' görüldüğünde; disk doluluğu, bozuk translog veya geçici ağ sorunu giderildikten sonra.
Dikkat
Nedeni gidermeden retry_failed çalıştırmak shard'ın yine 5 kez deneyip düşmesine yol açar; önce unassigned_info.details'teki hatayı çöz. Aynı anda çok sayıda shard recovery'ye girerse ağ ve disk yükü artar; cluster.routing.allocation.node_concurrent_recoveries ve indices.recovery.max_bytes_per_sec ile sınırlanır.