[Bugs] [Bug 1207547] New: BitRot :- If bitrot is not enabled for given volume then scrubber should not crawl bricks of that volume and should not update vol file for that volume

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 31 07:15:48 UTC 2015


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

            Bug ID: 1207547
           Summary: BitRot :- If bitrot is not enabled for given volume
                    then scrubber should not crawl bricks of that volume
                    and should not update vol file for that volume
           Product: GlusterFS
           Version: mainline
         Component: bitrot
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: racpatel at redhat.com
                CC: bugs at gluster.org
      Docs Contact: bugs at gluster.org



Description of problem:
=======================
even though bitrot is not enabled on volume, it updates vol files and scrubber
is crawling brick for that volume.

Version-Release number of selected component (if applicable):
=============================================================
0.803.gitf64666f.el6.x86_64

How reproducible:
=================
always


Steps to Reproduce:
===================
1. create multiple volumes in cluster and enable bitrot for only one
volume(volume name - rac1)
2. check scrubber log and vol file.
3. vol file is updated for other volumes(bitrot was not enabled for volumes - 
2tier_distrep, tiervol10 ...)


[root at rhs-client37 scrub]# cat scrub-server.vol 
volume 2tier_distrep-client-8
    type protocol/client
    option password d7cf0a0c-ec5a-454c-8ffd-a4903a782ee7
    option username 1036c4b2-6ee3-40fa-8ca1-7d70c77c2f1d
    option transport-type tcp
    option remote-subvolume /pavanbrick2/2tier_distrep/hb2
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume 2tier_distrep-client-7
    type protocol/client
    option password d7cf0a0c-ec5a-454c-8ffd-a4903a782ee7
    option username 1036c4b2-6ee3-40fa-8ca1-7d70c77c2f1d
    option transport-type tcp
    option remote-subvolume /pavanbrick2/2tier_distrep/hb1m
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume 2tier_distrep-client-1
    type protocol/client
    option password d7cf0a0c-ec5a-454c-8ffd-a4903a782ee7
    option username 1036c4b2-6ee3-40fa-8ca1-7d70c77c2f1d
    option transport-type tcp
    option remote-subvolume /pavanbrick1/2tier_distrep/b1m
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume 2tier_distrep-client-2
    type protocol/client
    option password d7cf0a0c-ec5a-454c-8ffd-a4903a782ee7
    option username 1036c4b2-6ee3-40fa-8ca1-7d70c77c2f1d
    option transport-type tcp
    option remote-subvolume /pavanbrick1/2tier_distrep/b2
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume tiervol10-client-4
    type protocol/client
    option password 30014655-01c9-4bee-a907-187d1fc68094
    option username ab1c7b6d-0e75-4a8b-8392-86d22d8b51c6
    option transport-type tcp
    option remote-subvolume /pavanbrick2/tiervol10/hb1
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume tiervol10-client-1
    type protocol/client
    option password 30014655-01c9-4bee-a907-187d1fc68094
    option username ab1c7b6d-0e75-4a8b-8392-86d22d8b51c6
    option transport-type tcp
    option remote-subvolume /pavanbrick1/tiervol10/b1
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume tier_distrep-client-8
    type protocol/client
    option password 7fff38fb-f3c9-4875-8287-7b6896cd7300
    option username f917e26f-80e0-4679-8cd1-cdf97a94e5f3
    option transport-type tcp
    option remote-subvolume /pavanbrick2/tier_distrep/hb2
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume tier_distrep-client-7
    type protocol/client
    option password 7fff38fb-f3c9-4875-8287-7b6896cd7300
    option username f917e26f-80e0-4679-8cd1-cdf97a94e5f3
    option transport-type tcp
    option remote-subvolume /pavanbrick2/tier_distrep/hb1m
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume tier_distrep-client-1
    type protocol/client
    option password 7fff38fb-f3c9-4875-8287-7b6896cd7300
    option username f917e26f-80e0-4679-8cd1-cdf97a94e5f3
    option transport-type tcp
    option remote-subvolume /pavanbrick1/tier_distrep/b1m
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume tier_distrep-client-2
    type protocol/client
    option password 7fff38fb-f3c9-4875-8287-7b6896cd7300
    option username f917e26f-80e0-4679-8cd1-cdf97a94e5f3
    option transport-type tcp
    option remote-subvolume /pavanbrick1/tier_distrep/b2
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume rac1-client-1
    type protocol/client
    option password 2d5e8d5a-4495-4432-9fe8-37926e6f8ee7
    option username f4052478-a69a-42dd-bb61-88ea41c353a2
    option transport-type tcp
    option remote-subvolume /pavanbrick7/r1
    option remote-host rhs-client37
    option ping-timeout 42
end-volume

volume bit-rot
    type features/bit-rot
    option scrubber true
    subvolumes 2tier_distrep-client-8 2tier_distrep-client-7
2tier_distrep-client-1 2tier_distrep-client-2 tiervol10-client-4
tiervol10-client-1 tier_distrep-client-8 tier_distrep-client-7
tier_distrep-client-1 tier_distrep-client-2 rac1-client-1
end-volume


Actual results:
===============
even though bitrot is not enabled on volume, it updates vol files and scrubber
is crawling brick for that volume.

Expected results:
================
vol file should be updated on enabling bitrot

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


More information about the Bugs mailing list