You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some APIs in OpenSearch create tasks that need to be awaited for. Add support for a predictable retry.
What solution would you like?
In the following example retry twice after 60 seconds if the status code doesn't match the expected one.
retry: 2retry_after: 60
Sometimes status code isn't enough and we are waiting for a field value. Today we check for response schema. In addition I think we can add a response_body that expects some values, then retry: 2 makes sense.
Is your feature request related to a problem?
Some APIs in OpenSearch create tasks that need to be awaited for. Add support for a predictable retry.
What solution would you like?
In the following example retry twice after 60 seconds if the status code doesn't match the expected one.
Sometimes status code isn't enough and we are waiting for a field value. Today we check for response schema. In addition I think we can add a response_body that expects some values, then retry: 2 makes sense.
Do you have any additional context?
Coming from #315 (comment)
The text was updated successfully, but these errors were encountered: