Git Product home page Git Product logo

Comments (4)

tsynik avatar tsynik commented on May 28, 2024 1

@anacrolix looks like we fixed this returning fake piece instead of nil: YouROK/TorrServer@dd26ff3
Thanks for suggestion!

from torrent.

anacrolix avatar anacrolix commented on May 28, 2024

Hi @tsynik. There may be an issue around closing, but the immediate cause of the issue above is https://github.com/YouROK/TorrServer/blob/34634649024b06921e7f2bb068da4a4ad35fabe4/server/torr/storage/torrstor/cache.go#L86. It's not valid to return nil here to anacrolix/torrent.

from torrent.

tsynik avatar tsynik commented on May 28, 2024

Hi @anacrolix. Thx for point to TorrServer code, I'll dig into it. And to mute read chunks errors logging we need add Capacity like so: YouROK/TorrServer@e480ecb?

from torrent.

anacrolix avatar anacrolix commented on May 28, 2024

Yes I do recall something about masking an error if the storage knows there's a limited capacity. That way it doesn't get confused when pieces go missing.

from torrent.

Related Issues (20)

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.