diff options
author | sayaleeraut <saraut@redhat.com> | 2020-06-01 12:26:11 +0530 |
---|---|---|
committer | Arthy Loganathan <aloganat@redhat.com> | 2020-06-03 10:54:14 +0000 |
commit | cea4ebbb5ba30ac1e0628a32d3d46e8698ba3296 (patch) | |
tree | 4d62529cd7ea30fbfa029520500e687463650381 /glustolibs-gluster | |
parent | 5e08e4d2ca0a0e95b76d93861283b21c6bf6f3e7 (diff) |
[Test] Validate file rename with brick down
Description: The TC checks that there is no data loss when
rename is performed with a brick of volume down.
Steps :
1) Create a volume.
2) Mount the volume using FUSE.
3) Create 1000 files on the mount point.
4) Create the soft-link for file{1..100}
5) Create the hard-link for file{101..200}
6) Check for the file count on the mount point.
7) Begin renaming the files, in multiple iterations.
8) Let few iterations of the rename complete successfully.
9) Then while rename is still in progress, kill a brick part of
the volume.
10) Let the brick be down for sometime, such that the a couple
of rename iterations are completed.
11) Bring the brick back online.
12) Wait for the IO to complete.
13) Check if there is any data loss.
14) Check if all the files are renamed properly.
Change-Id: I7b7c4aed7df7f19a10ec8c2577dfec1f1ceeb46c
Signed-off-by: sayaleeraut <saraut@redhat.com>
Diffstat (limited to 'glustolibs-gluster')
0 files changed, 0 insertions, 0 deletions