Skip to content
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

S3 backend: unexpected errors during high volume of reading #525

Closed
dantengsky opened this issue Aug 16, 2022 · 1 comment · Fixed by #528
Closed

S3 backend: unexpected errors during high volume of reading #525

dantengsky opened this issue Aug 16, 2022 · 1 comment · Fixed by #528

Comments

@dantengsky
Copy link

while reading data from s3, expected error encountered:

ERROR 1105 (HY000): Code: 4000, displayText = other error (object error: (op: read, path: 1/29/_b/b7b39054dd59427babc4f0eae3af59b3_v0.parquet, source: sending request:  Error { kind: ProtocolViolation, context: None, source: Some(Error { description: "Server returned nothing (no headers, no data)", code: 52, extra: None }), source_type: Some("curl::error::Error"), local_addr: Some([172.31.7.127:53456](http://172.31.7.127:53456/)), remote_addr: Some([52.219.88.122:443](http://52.219.88.122:443/)) })) (while in processor thread 0).

during the above execution, there are thousands of HTTP connections, which seems to be one of the causes.

@Xuanwo
Copy link
Member

Xuanwo commented Aug 16, 2022

ProtocolViolation means the server made an unrecoverable HTTP protocol violation. This indicates a bug in the server. Ideally, we should not retry this error because it's likely to produce the same error.

But services like s3 could recover from this service very soon. Retrying this error is still meaningful.

Let's do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants