Giter Club home page Giter Club logo

Comments (5)

dsschult avatar dsschult commented on August 15, 2024 1

The correct size but different contents was an upstream cvmfs bug that is now fixed. So not my problem 😉

from cvmfs.

claudiok avatar claudiok commented on August 15, 2024

Would an "index" file with a full directory listing and hashes of each file's contents help? You could have a script that keeps comparing them (that users could run on a node themselves if they run into trouble). This would make bug reports easy and you would immediately see which files changed, especially if a client is in an inconsistent state.

from cvmfs.

dsschult avatar dsschult commented on August 15, 2024

If I just wanted to spot when changes occur, I can see that in the rsync while publishing. The problem is that most of the time the change was intended, and only some times it might break something.

Also, cvmfs already keeps hashes of everything, so the "index" probably already exists.

from cvmfs.

dsschult avatar dsschult commented on August 15, 2024

I'm thinking more along the lines of running through the imports of all the python packages we need, and other basic tests like that.

from cvmfs.

claudiok avatar claudiok commented on August 15, 2024

I guess you are right - if anything this is a different problem and only rarely occurs (but we've seen it happen on one of the "followup" nodes where a single file had the correct size but different contents). What you want are actual tests. Sorry for the noise!

from cvmfs.

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.