Add support for retries in Reindex API #60362
Labels
:Distributed Indexing/Reindex
Issues relating to reindex that are not caused by issues further down
>enhancement
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
When performing a Re-index I have seen several times where the overall reindex fails for transient causes (eg.
Node not connected
orNo search context found for id
). When this happens I have the option to try and track down the failed slices and retry those using Manual Slicing. But this is not ideal since it requires manual effort and is error prone. Alternatively if lots failed I may end up preferring to just retry the entire reindex.It would be good if the Reindex API supported a few more options. For example
retries
to specify the number of times to retry a failed slice. If it's difficult to tell the difference between transient errors and other errors you could also make it required for the user to specify theretry_errors
that should be allowed to retry and anything else should be considered a permanent failure.The text was updated successfully, but these errors were encountered: