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
So that we can rely on the correctness of sweeper code and avoid (for example) long, repeated, looping queries.
π Additional Details
Opensearch (v1, at least), returns HTTP200 for at-least-some types of request failures, including bulk updates.
With respect to the looping/hanging queries, I suspect that's due to expiration of scrolls (confirm whether scroll parameter is per-scroll, or per-query/lifetime). This should be easy to test by dropping the scroll window to 1min and adding 30sec delays. The second or third request should return HTTP200, but an error-indicative response, if it's the root cause of the 86% stall (see other issue, need to track it down).
Acceptance Criteria
All request failure conditionals test not only the HTTP status code, but also examine the structure of the returned response.
Ideally, this should be enclosed in a wrapper function.
βοΈ Engineering Details
No response
The text was updated successfully, but these errors were encountered:
Actually no - it will happen in other contexts too (this is likely what @al-niessner was talking about - are CCS remotes equivalent to shards in this context?) elastic/elasticsearch#18978
Checked for duplicates
No - I haven't checked
π§βπ¬ User Persona(s)
dev
πͺ Motivation
So that we can rely on the correctness of sweeper code and avoid (for example) long, repeated, looping queries.
π Additional Details
Opensearch (v1, at least), returns HTTP200 for at-least-some types of request failures, including bulk updates.
With respect to the looping/hanging queries, I suspect that's due to expiration of scrolls (confirm whether scroll parameter is per-scroll, or per-query/lifetime). This should be easy to test by dropping the scroll window to 1min and adding 30sec delays. The second or third request should return HTTP200, but an error-indicative response, if it's the root cause of the 86% stall (see other issue, need to track it down).
Acceptance Criteria
All request failure conditionals test not only the HTTP status code, but also examine the structure of the returned response.
Ideally, this should be enclosed in a wrapper function.
βοΈ Engineering Details
No response
The text was updated successfully, but these errors were encountered: