Code Monkey home page Code Monkey logo

Comments (2)

raghavendrabhat avatar raghavendrabhat commented on May 3, 2024

Testing the bitrot with Brick multiplexing enabled. Performed following tests.

  • Created a replicate volume and started the volume. There was only 1 process for all the bricks on the node (Created another volume and started it to ensure)

  • Mounted the volume and created some data.

  • Enabled bitrot on the replicate volume.

  • BitD was able to sign the already existing files on the volume

  • Enabled ondemand scrubbing and scrubber completed in the default lazy mode

  • Modified one of the files from the backend directly to simulate backend corruption of the file.

  • Agin triggered on demand scrubbing. Found that the scrubber has marked the file which was modified directly in the backend as a bad file via extended attribute.

  • Deleted the bad file from the Backend (along with the gfid handle) and triggered a heal from the mount point by accessing the file.

  • Found that the good file from the other replica copy has been properly healed to the other node where bad copy was present.

TODO:

  • Create more data and see the freshly created data after bitrot enable also gets signed properly or not.

  • Try different throttling options of scrubbing

  • Try accessing a bad object from the mount point and check if error is generated or not.

  • Before the object gets signed again modify it and check if the object gets the proper signature or not

from glusterfs.

raghavendrabhat avatar raghavendrabhat commented on May 3, 2024

Did few more testings.

  • Created new data on a bitrot enabled volume and saw that the newly created files are getting signed.

  • The signer (i.e. BitD) waits for 2 minutes once it gets a notification that a file has changed, before signing the file. There can be a race window where within the 2 minutes wait period, the file again gets modified and a new notification is sent to BitD. In this case BitD should discard previous notification and freshly start signing after 2 minutes. Verified this by modifying a file immediately after closing it.

TODO:

  • Try different throttling options of scrubbing

  • Try accessing a bad object from the mount point and check if error is generated or not.

from glusterfs.

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.