elastic/elasticsearch
Make SnapshotHistoryStore retry indexing history data on EsRejectedExecutionException
开放
#141,887 创建于 2026年2月4日
:Distributed/SLM>bugTeam:Distributedgood first issue
仓库指标
- 星标
- (76,700 个星标)
- PR 合并指标
- (平均合并 2天) (30 天内合并 1,000 个 PR)
描述
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.