Commit 4c357d9
committed
fix: remove BulkIngester backoffPolicy to prevent compound retries
BulkIngester.backoffPolicy and DispatchingTransport both used
config.maxRetries(), causing up to (maxRetries+1)^2 HTTP requests per
document: each BulkIngester per-item 429 retry issued a new bulk request
that re-entered DispatchingTransport with a fresh retry budget.
Removing backoffPolicy gives DispatchingTransport sole ownership of the
retry budget. HTTP-level 429s (whole-request) continue to be retried as
exceptions by DispatchingTransport; per-item 429s in a 200 response go
to the listener's error path (DLQ + task failure), matching pre-migration
HLRC behavior.1 parent 80672d1 commit 4c357d9
1 file changed
Lines changed: 0 additions & 3 deletions
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | | - | |
199 | | - | |
200 | 197 | | |
201 | 198 | | |
202 | 199 | | |
| |||
0 commit comments