elastic/elasticsearch

Make SnapshotHistoryStore retry indexing history data on EsRejectedExecutionException

Open

#141,887 建立於 2026年2月4日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)Java (76,700 star) (25,882 fork)batch import
:Distributed/SLM>bugTeam:Distributedgood first issue

描述

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.

貢獻者指南

Make SnapshotHistoryStore retry indexing history data on EsRejectedExecutionException · elastic/elasticsearch#141887 | Good First Issue