[Bugs] [Bug 1215265] New: Fixes for data self-heal in ec

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 24 19:58:36 UTC 2015


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

            Bug ID: 1215265
           Summary: Fixes for data self-heal in ec
           Product: GlusterFS
           Version: mainline
         Component: disperse
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
As part of metadata self-heal, ec sets versions of the sinks as to that of
sources so that on going transactions will be successful on the healing
subvolume as well. Then it starts rebuilding the data on to the sinks. If this
data rebuilding fails for some reason the files are left with same version even
when the data rebuilding is not complete, this can lead to data corruption.

Fix:
    If the version numbers do not match, then writes are performed only on at
least N-R bricks which have same version. But if we want to do healing of files
which are constantly modified we need to allow writes on subvols that are
undergoing heal. Data healing will mark 62nd bit while the heal is going on.
When the data transaction sees that this bit is set it needs to perform the fop
on that subvol irrespective of whether the versions match or do not match. Fop
is considered successful only if N-R non-healing bricks succeed.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
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