-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Can't write to Dynamic Large Object #134
Comments
Does the container |
It does. I can write a small object (or even medium-sized, e.g. 1 GiB) with |
Hmm, I wonder if this is an eventual consistency problem. Did the object get created - can you see how far rclone got? You could try increasing this timeout Line 23 in b2a130b
I'm not 100% sure where the error is coming from in the swift library code - I think it is from here Line 308 in b2a130b
Can you put a printf in to confirm that? |
From a |
OK. I put in some print statements and stepped through some things in the debugger. It looks like the failure is in a
from here: Line 396 in b2a130b
which in turn comes from: from here: Line 332 in b2a130b
FWIW, I tried creating a large object in this container with Is there possibly an issue with that segment URL? I notice the segment names for the object I created from the command line seem to be very different from the PUT URL:
According to the Swift docs, the segment names should be in the form |
Side note: Is there a way to explicitly set the segment size in the Go API? There's |
According to the openstack docs On a PUT
Which is puzzling
The
This library uses a different convention - it is only a convention after all. I'm not sure why though - I didn't write the SLO/DLO support... If you want to use your own segment prefix then set the |
I came across this issue, but in my case the |
DynamicLargeObjectCreateFile
succeeds, but when I try to write to it withio.CopyBuffer
, the write always fails. Am I using the API correctly? Is there something more explicit I need to do with regard to segment management?Here's the relevant code:
And the output:
If I explicitly set the
ChunkSize
, I getwrote <chunk size> bytes
, but I think that's justio.CopyBuffer
being overoptimistic.The text was updated successfully, but these errors were encountered: