actual_04780
03/28/2025, 12:32 PMerror loading manifest: Object store error: Generic S3 error: Error performing list request: Error performing GET https://s3.us-west-2.amazonaws.com/... in 148.412134ms - HTTP error: error sending request
Usually object_store should just retry, but it didn't for some reason. The HTTP error: error sending request part is definitely missing some context to diagnose the cause. But assuming proper implementation it should be possible to unwind such errors down to the root cause using Error::source() or just Debug.
For instance, it's possible to go from something like this:
Generic S3 error: Error after 10 retries in 5.723990834s, max_retries:10, retry_timeout:180s...
To this using the source() chain:
0: Generic S3 error: Error after 10 retries in 5.723990834s, max_retries:10, retry_timeout:180s, source:error sending request for url (http://...)
1: Error after 10 retries in 5.723990834s, max_retries:10, retry_timeout:180s, source:error sending request for url (http://...)
2: error sending request for url (http://...)
3: client error (Connect)
4: tcp connect error: Host is down (os error 64)
5: Host is down (os error 64)
As far as I understand, object_store and reqwest intentionally do not include the detailed root cause information in their error's Display to avoid leaking sensitive details (?).
My concern is that RFC-0007 "SlateDB Error API" doesn't specify anything about Error::source() implementation and/or the underlying error propagation. Also it doesn't specify from where it would obtain the information to pack it into the error message. If it would use just Display of the underlying error, the detailed root cause information would be lost.criccomini
03/29/2025, 3:00 PMcriccomini
03/29/2025, 3:01 PMactual_04780
03/29/2025, 8:33 PMcriccomini
03/29/2025, 10:46 PMactual_04780
03/31/2025, 10:00 AMobject_store::Error source() chain, and then realized that after RFC-7 there probably would be no way to access it