-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF66, 2021.26, 2023.0
-
Component/s: Elasticsearch
-
Release Notes Summary:The retry delay has been increased to handle when elastic is overloaded.
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #69, nxplatform #70
-
Story Points:3
Since NXP-30841 there is a back pressure applied when Elastic circuit breaker is activated.
There are 2 different retries:
- for bulk indexing commands (elastic bulk not Nuxeo bulk) with 3 retries in a range of [t+105s, t+315s] (t being the time of the first error).
- for single indexing commands with 3 retries and a shorter range of [t+7s, t+21s]
The first retry configuration looks ok to wait for the pressure to go down and avoid an error, but we have seen that the second retry is too short and we have seen errors after 3 retries.
The shorter configuration was done because single index command can be used in sync mode, this needs to be reviewed if we can distinguish sync and async command and increase the backoff duration.
- is related to
-
NXP-30841 Improve indexing reliability when Elastic is overloaded
- Resolved