Giter Site home page Giter Site logo

Comments (6)

alanedwardes avatar alanedwardes commented on July 24, 2024

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.

elfmimi avatar elfmimi commented on July 24, 2024

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.

alanedwardes avatar alanedwardes commented on July 24, 2024

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.

alanedwardes avatar alanedwardes commented on July 24, 2024

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.

alanedwardes avatar alanedwardes commented on July 24, 2024

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.

elfmimi avatar elfmimi commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.