hachikuji opened a new pull request, #319:
URL: https://github.com/apache/arrow-rs-object-store/pull/319

   I have been testing a [slatedb](https://github.com/slatedb/slatedb)-based 
database using antithesis with minio as the s3 backend. Antithesis is able to 
simulate various connection/transport issues which are currently causing test 
failures. Here is an example of one of the errors that we see:
   ```
   Error: "SlateDbError(ObjectStoreError(Generic { store: \"S3\", source: 
ListRequest { source: RetryError { method: GET, uri: 
Some(http://minio:9000/rs3-antithesis?&list-type=2&prefix=rs3%2Fb1a45157-e2f0-4698-be0e-5bf3a9b8e9d1%2F0%2Fmanifest%2F),
 retries: 0, max_retries: 18446744073709551615, elapsed: 13.543569863s, 
retry_timeout: 1800s, inner: Http(HttpError { kind: Unknown, source: 
reqwest::Error { kind: Request, source: 
hyper_util::client::legacy::Error(SendRequest, hyper::Error(Io, Os { code: 104, 
kind: ConnectionReset, message: \"Connection reset by peer\" })) } }) } } }))
   ```
   Note that although `max_retries` is set to its limit and the timeout is set 
to 30min, the request failed without any retries after 13s. It looks like the 
underlying `ConnectionReset` comes to `object_store` as an `Unknown` error 
which aborts the retry logic.
   
   I tested this patch as a workaround and it addressed the issue. Feedback on 
the patch or alternative suggestions are welcome.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to