Comments (6)
Hi,
Thanks for the report! Can you include some anomyised logs of the request/responses with the environment variable GIT_TRACE=1
? I'm looking to track down the specific requests that respond positively when they shouldn't.
Thanks,
Alan
from estranged.lfs.
Here you are. I've also added GIT_CURL_VERBOSE=1 to see headers and contents of the POST request.
log-with-empty-bucket.txt
The lambda is connected to a newly created empty bucket. So there exist no object to download at all.
log-with-server-down.txt
Throttling the lambda with setting concurrency down to zero, the api returns an error. but it is being treated correctly as negative, no file exists, answer.
from estranged.lfs.
Thanks for the additional information - it looks like this particular git lfs operation doesn't follow the signed URL, so it doesn't actually verify whether it can get the data.
I'll count this as a feature request, since it will require the batch download endpoint to ping S3 for each object it's asked to return to confirm it exists - I'll try to get to it within the next few weeks.
Thanks,
Alan
from estranged.lfs.
For reference - I have started a new branch for the changes around this feature: https://github.com/alanedwardes/Estranged.Lfs/tree/fetch-object-metadata
from estranged.lfs.
This was addressed with version 3.0.0 - Estranged.Lfs now makes HEAD requests in parallel to S3 to verify all requested objects exist. https://github.com/alanedwardes/Estranged.Lfs/releases
from estranged.lfs.
I wasn't expecting this would be solved in such a short time.
Thank you very much. @alanedwardes
note: I purchased act.II as a sign of appreciation.
from estranged.lfs.
Related Issues (8)
- LFS: Authorization error from Cloudfront template HOT 24
- GitLab authenticator
- Make API endpoints return the correct status code when returning an error HOT 2
- [Feature Request]: Convert Estranged.Lfs.Api to utilize minimal APIs instead of controllers HOT 1
- Regarding the magic in git-lfs.yaml HOT 4
- Support for OVH Object Storage HOT 9
- Support for Azure blob storage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from estranged.lfs.