-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable curl error retries. #5273
Conversation
/backport to release-2.26 |
Started backporting to release-2.26: https://github.com/TileDB-Inc/TileDB/actions/runs/10684663732 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved tiledb/api/c_api/config/config_api_external.h
and tiledb/sm/cpp_api/config.h
only.
42a2335
to
25393b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
78ed593
to
d43b024
Compare
Co-authored-by: Shaun M Reed <[email protected]>
d43b024
to
75a07f5
Compare
Backport of #5273 to release-2.26 --- TYPE: IMPROVEMENT DESC: Enable curl error retries. --------- Co-authored-by: Ypatia Tsavliri <[email protected]> Co-authored-by: Shaun M Reed <[email protected]>
I think we should backpot this to 2.27 as well. |
@teo-tsirpanis we might have to but we might get rid of the current release-2.27 branch so let's not do it now. |
Core-side retries on curl errors have been explicitly disallowed in the past in #3712 to protect from double writes in case of errors in a connection teardown phase, so after a fragment has been written, where a retry would just re-write the same fragment.
However, we have experienced spurious "Connection reset by peer" type of errors especially during ingestion (Write queries), which we think could be mitigating by allowing retries for most of curl errors. (exclude those that typically happen during connection teardown).
[sc-54377]
TYPE: IMPROVEMENT
DESC: Enable curl error retries.