gluster / glusto-tests

Functional test framework for glusterfs.
GNU General Public License v3.0
19 stars 43 forks source link

[Test] - Check self heal with data-self-heal-algorithm set to full #73

Closed karthik-us closed 3 years ago

karthik-us commented 3 years ago

Steps:

  1. Create a replicated/distributed-replicate volume and mount it
  2. Set data/metadata/entry-self-heal to off and data-self-heal-algorithm to full
  3. Create a directory from the mount point
  4. Bring down all bricks from a selected set
  5. Create few files inside the directory with some data
  6. Bring back the bricks online and wait for heal to complete
  7. Check arequal of the subvol and all the bricks in the subvol should have same checksum
  8. Bring down all bricks from another set
  9. Modify the data of existing files under the directory
  10. Bring back the bricks online and wait for heal to complete
  11. Check arequal of the subvol and all the brick in the same subvol should have same checksum

Signed-off-by: karthik-us ksubrahm@redhat.com

karthik-us commented 3 years ago

Small request, please run the test on local cluster once.

Done.

leelavg commented 3 years ago

as discussed offline, below have to be fixed:

karthik-us commented 3 years ago

as discussed offline, below have to be fixed:

  • picking only one brick from each subvol for offline

Now the code picks specific bricks on each subvol to be brought offline.

  • refactor of entire test with unqiue step being cmd that should be run

Done.