https://slatedb.io logo
Argh, this one is a bit annoying
# general
p
Argh, this one is a bit annoying
Copy code
retries: 1, max_retries: 10, elapsed: 689.469783ms, retry_timeout: 180s, inner: Status { status: 412, body: Some("<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>PreconditionFailed</Code><Message>At least one of the pre-conditions you specified did not hold.</Message></Error>") } }) } }), panic=None]
c
hmmm
Any more context?
p
I think this is just the retry + precondition thing
+ the file was actually created
c
Ah gotcha
p
Seems like cloudflare r2 errors out so much that it happens pretty often
I am quite surprised / disapointed...
I would have thought it would be rock solid
c
Yea, that's annoying.. 🤔 I kinda abandoned the issue for the time being because of all the OpenDAL chatter. Let me take another crack at it.
I'm working on #1044 right now, but i'll add to my todo
p
On a side note OpenDAL will probably allow to use object stores without preconditions support pretty easily
c
oh yea?
p
Yes because it seems easy to plug an external service to enforce that
Or even through local locking facilities (if you have a single host)
Say flock
c
Ahh yea
p
Or even
Plugging an other object store that support preconditions just to enforce preconditions
Like a mutex but on s3
c
haha yea