Coder Social home page Coder Social logo

Comments (3)

ljusten avatar ljusten commented on June 18, 2024

Odd, I've never seen that. If the server chunks have not been fully transmitted, it is possible that the chunk.hash is not found until the server catches up sending the data. In that case, the patcher will just try again later until server_chunk_receiver.AllChunksReceived() is true. Is the chunk.hash not found even after server_chunk_receiver.AllChunksReceived() becomes true?

Is this reproducible with a very small file (<1KB)? In that case, there should only be one chunk, and it should be easy to check what's going on. It could be 3 things: The chunkers/hashers on the client and server get different input data (should not be the case as the files are the same), they produce different outcomes (should not be the case as both chunker and hasher should be deterministic) or something else is wrong and the hash doesn't get transmitted properly.

Also, what version are you on? 1.0.0 or latest? If you're on latest, does it repro in 1.0.0?

from cdc-file-transfer.

azvenigo avatar azvenigo commented on June 18, 2024

Hi Lutz,

Thanks very much for responding. In adding some additional logging it looks like somehow the build of the server was out of sync with the build on the client. Not clear how that happened, but at least that's the answer.

Best,
Alex

from cdc-file-transfer.

ljusten avatar ljusten commented on June 18, 2024

Yeah I was about to suggest that. We made a tiny change to fastcdc.h, which would perfectly explain those symptoms.

from cdc-file-transfer.

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.