[Bugs] [Bug 1163561] A restarted child can not clean files/directories which were deleted while down

bugzilla at redhat.com bugzilla at redhat.com
Sat May 9 17:13:06 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1163561

Pranith Kumar K <pkarampu at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |MODIFIED
                 CC|                            |pkarampu at redhat.com



--- Comment #1 from Pranith Kumar K <pkarampu at redhat.com> ---
For fixing this bug, we had to bring in some version incompatible changes and
directory self-heal implementation, so it can't be backported to 3.6.x. Please
feel free to upgrade to 3.7.x where this bug is fixed:

root at pranithk-laptop - ~ 
22:38:45 :( ⚡ glusterd && gluster volume create ec2 disperse-data 2 redundancy
1 `hostname`:/home/gfs/ec_{0..2} force && gluster volume start ec2 && mount -t
glusterfs `hostname`:/ec2 /mnt/ec2
volume create: ec2: success: please start the volume to access data
volume start: ec2: success

root at pranithk-laptop - ~ 
22:41:01 :) ⚡ cd /mnt/ec2/

root at pranithk-laptop - /mnt/ec2 
22:41:23 :) ⚡ for i in {1..10}; do echo abc > a; done

root at pranithk-laptop - /mnt/ec2 
22:41:42 :) ⚡ ls -l /home/gfs/ec_?
/home/gfs/ec_0:
total 8
-rw-r--r--. 2 root root 512 May  9 22:41 a

/home/gfs/ec_1:
total 8
-rw-r--r--. 2 root root 512 May  9 22:41 a

/home/gfs/ec_2:
total 8
-rw-r--r--. 2 root root 512 May  9 22:41 a

root at pranithk-laptop - /mnt/ec2 
22:41:47 :) ⚡ for i in {1..10}; do echo abc > $i; done

root at pranithk-laptop - /mnt/ec2 
22:41:52 :) ⚡ ls -l /home/gfs/ec_?
/home/gfs/ec_0:
total 88
-rw-r--r--. 2 root root 512 May  9 22:41 1
-rw-r--r--. 2 root root 512 May  9 22:41 10
-rw-r--r--. 2 root root 512 May  9 22:41 2
-rw-r--r--. 2 root root 512 May  9 22:41 3
-rw-r--r--. 2 root root 512 May  9 22:41 4
-rw-r--r--. 2 root root 512 May  9 22:41 5
-rw-r--r--. 2 root root 512 May  9 22:41 6
-rw-r--r--. 2 root root 512 May  9 22:41 7
-rw-r--r--. 2 root root 512 May  9 22:41 8
-rw-r--r--. 2 root root 512 May  9 22:41 9
-rw-r--r--. 2 root root 512 May  9 22:41 a

/home/gfs/ec_1:
total 88
-rw-r--r--. 2 root root 512 May  9 22:41 1
-rw-r--r--. 2 root root 512 May  9 22:41 10
-rw-r--r--. 2 root root 512 May  9 22:41 2
-rw-r--r--. 2 root root 512 May  9 22:41 3
-rw-r--r--. 2 root root 512 May  9 22:41 4
-rw-r--r--. 2 root root 512 May  9 22:41 5
-rw-r--r--. 2 root root 512 May  9 22:41 6
-rw-r--r--. 2 root root 512 May  9 22:41 7
-rw-r--r--. 2 root root 512 May  9 22:41 8
-rw-r--r--. 2 root root 512 May  9 22:41 9
-rw-r--r--. 2 root root 512 May  9 22:41 a

/home/gfs/ec_2:
total 88
-rw-r--r--. 2 root root 512 May  9 22:41 1
-rw-r--r--. 2 root root 512 May  9 22:41 10
-rw-r--r--. 2 root root 512 May  9 22:41 2
-rw-r--r--. 2 root root 512 May  9 22:41 3
-rw-r--r--. 2 root root 512 May  9 22:41 4
-rw-r--r--. 2 root root 512 May  9 22:41 5
-rw-r--r--. 2 root root 512 May  9 22:41 6
-rw-r--r--. 2 root root 512 May  9 22:41 7
-rw-r--r--. 2 root root 512 May  9 22:41 8
-rw-r--r--. 2 root root 512 May  9 22:41 9
-rw-r--r--. 2 root root 512 May  9 22:41 a

root at pranithk-laptop - /mnt/ec2 
22:41:54 :) ⚡ /home/pk1/.scripts/gfs -c k -v ec2 -k 0
Dir: /var/lib/glusterd/vols/ec2/run/
kill -9 14851


root at pranithk-laptop - /mnt/ec2 
22:41:58 :) ⚡ rm -rf *

root at pranithk-laptop - /mnt/ec2 
22:42:01 :) ⚡ ls -l /home/gfs/ec_?
/home/gfs/ec_0:
total 88
-rw-r--r--. 2 root root 512 May  9 22:41 1
-rw-r--r--. 2 root root 512 May  9 22:41 10
-rw-r--r--. 2 root root 512 May  9 22:41 2
-rw-r--r--. 2 root root 512 May  9 22:41 3
-rw-r--r--. 2 root root 512 May  9 22:41 4
-rw-r--r--. 2 root root 512 May  9 22:41 5
-rw-r--r--. 2 root root 512 May  9 22:41 6
-rw-r--r--. 2 root root 512 May  9 22:41 7
-rw-r--r--. 2 root root 512 May  9 22:41 8
-rw-r--r--. 2 root root 512 May  9 22:41 9
-rw-r--r--. 2 root root 512 May  9 22:41 a

/home/gfs/ec_1:
total 0

/home/gfs/ec_2:
total 0

root at pranithk-laptop - /mnt/ec2 
22:42:05 :) ⚡ gluster v start ec2 force
volume start: ec2: success

root at pranithk-laptop - /mnt/ec2 
22:42:12 :) ⚡ gluster v heal ec2 info
Brick pranithk-laptop:/home/gfs/ec_0/
Number of entries: 0

Brick pranithk-laptop:/home/gfs/ec_1/
Number of entries: 0

Brick pranithk-laptop:/home/gfs/ec_2/
Number of entries: 0


root at pranithk-laptop - /mnt/ec2 
22:42:23 :) ⚡ ls -l /home/gfs/ec_?
/home/gfs/ec_0:
total 0

/home/gfs/ec_1:
total 0

/home/gfs/ec_2:
total 0

root at pranithk-laptop - /mnt/ec2 
22:42:29 :) ⚡

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list