-
Notifications
You must be signed in to change notification settings - Fork 306
Closed
Labels
Description
Currently our retry logic is the following:
- Retry [409, 429, 503] up
max_attempts
times per batch. - Retry network errors infinitely.
As @gingerwizard pointed out this all makes no sense. We would expect 429/503 to retry infinitely. These both mean that Elasticsearch is just too busy to do anything useful.
For the 409 use case there's no reason to retry on the ES output. We should let Elasticsearch handle that with retry_on_conflict
.
The great thing about this is we'll need less code in this plugin for better performance / functionality!