-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
/vsiswift/ large file support (segments) #2202
Comments
I'm discovering this.
And for "static large objects", it would seem to be also the case: "A GET request to the manifest object will return the concatenation of the objects from the manifest much like DLO" |
Thanks @rouault for looking into this. We have the strange issue that we can access large TIFFs (i.e open them) but the actual raster access fails. We get error messages like
Also, the
When inspecting via thanks again. |
206 responses are nominal when doing Range requests, so that's not a marker of the issue you encounter here |
Yes, I know, I wanted to express that I think that there is something fishy with the returned byteranges. |
I'm also facing an issue with segmented objects but different one than @constantinius. For me it doesn't work at all. Gdal makes a call to list all objects in a bucket, something like
Which in my case returns
The problem here is
I'm wondering why does it at least read something in case of @constantinius. Maybe different version of OpenStack? Otherwise, as @rouault writes, the object |
I tried to "hardcode" the content size of that particular object I was testing into gdal and then gdalinfo worked fine. |
Yes, GDAL will trust that value. That sounds like a bug on the server side to me, if the rest of the API works transparently for segmented objects |
@rouault I found the problem - it was on my side. I was uploading it as Dynamic Large Object (DLO). These have
So for me gdal works with SLO just fine. |
I can confirm that it works with the Thanks for your help! |
@rouault What do you think shall we do with this issue? It seems like this is an issue with Swift, but it seems like I'm not the only one experiencing it. Shall we close this issue as there is a workaround? Shall we add some hint in the documentation? |
might be good if enhancements to deal with DLOs aren't considered for now |
@constantinius ping |
I'll prep a PR for the doc update (hint to use the switch when uploading the file). |
Fixed per doc addition of #2385 |
The OpenStack swift protocol foresees the splitting of large files into "segments". The VSI Swift implementation does not seem to recognize these files, so my guess is that there is some client side functionality missing to support this. Read support would be nice for start, for writing, there are other tools.
As far as I can tell, the reading side of this would just entail using the
X-Object-Manifest
header and some JSON parsing and interpreting.How much effort would that entail? I would be willing to contribute.
The text was updated successfully, but these errors were encountered: