elastic/elasticsearch

Make SnapshotHistoryStore retry indexing history data on EsRejectedExecutionException

Open

#141,887 opened on 2026年2月4日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)Java (25,882 forks)batch import
:Distributed/SLM>bugTeam:Distributedgood first issue

Repository metrics

Stars
 (76,700 stars)
PR merge metrics
 (平均マージ 2d) (30d で 1,000 merged PRs)

説明

ILMHistoryStore uses BulkProcessor to retry indexing history up to 3 times if it hits a EsRejectedExecutionException because the cluster was too busy. From what I can tell, SnapshotHistoryStore just makes a single attempt, and logs an error and moves on if it hits EsRejectedExecutionException. I have seen this several times in production logs. We ought to have SnapshotHistoryStore use BulkProcessor to make a few attempts before giving up.

コントリビューターガイド