summaryrefslogtreecommitdiffstats
path: root/extras/snap_scheduler/snap_scheduler.py
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2018-12-24 13:00:19 +0530
committerhari gowtham <hari.gowtham005@gmail.com>2020-04-20 07:40:10 +0000
commit7ea9eec1e89b9e9576120e89aef15b15f3d14768 (patch)
treedebe22ae58849905c7438a14a860f76b53888806 /extras/snap_scheduler/snap_scheduler.py
parent5d5bcea32953680ab19afbeb620fcc0316d3f9cb (diff)
afr: mark pending xattrs as a part of metadata heal
...if pending xattrs are zero for all children. Problem: If there are no pending xattrs and a metadata heal needs to be performed, it can be possible that we end up with xattrs inadvertendly deleted from all bricks, as explained in the BZ. Fix: After picking one among the sources as the good copy, mark pending xattrs on all sources to blame the sinks. Now even if this metadata heal fails midway, a subsequent heal will still choose one of the valid sources that it picked previously. Updates: #1067 Change-Id: If1b050b70b0ad911e162c04db4d89b263e2b8d7b Signed-off-by: Ravishankar N <ravishankar@redhat.com> (cherry picked from commit 2d5ba449e9200b16184b1e7fc84cabd015f1f779)
Diffstat (limited to 'extras/snap_scheduler/snap_scheduler.py')
0 files changed, 0 insertions, 0 deletions