glusterfs icon indicating copy to clipboard operation
glusterfs copied to clipboard

Request testing feedback for component/feature bitrot in release-3.10

Open ShyamsundarR opened this issue 9 years ago • 2 comments

This issue tracks testing feedback on component/feature bitrot for release-3.10

Request the maintainer or person assigned to the issue to test and provide feedback on the health of the component before closing the issue. NOTE: As a maintainer please change the assignment as needed, in case someone else is working on testing the component.

Other folks that are testing the release are also welcome to add tests performed to these issues, as that helps gauging the health of the component/feature.

Major points to look out for:

  • We have introduced brick multiplexing, so tests with and without multiplexing enabled will help in understanding if there are any lingering issues
  • readdir-ahead as a sub xlator to DHT is added with this release, this is an experimental feature, but testing with this enabled can help weed out any issues that other xlators may face when this feature is enabled
  • If any upgrade or mixed mode cluster testing is performed, then testing out the glusterd changes to report op-version would be useful to perform

Check release notes to understand how to enable the above features: https://github.com/gluster/glusterfs/blob/v3.10.0rc0/doc/release-notes/3.10.0.md

This issue is tracked against the release-3.10 and will not appear in the project dashboard for the same, as this is a release activity and does not define scope for the release.

Happy testing!

ShyamsundarR avatar Feb 03 '17 16:02 ShyamsundarR

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

raghavendrabhat avatar Feb 13 '17 18:02 raghavendrabhat

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.

raghavendrabhat avatar Feb 14 '17 05:02 raghavendrabhat