diff options
author | Ravishankar N <ravishankar@redhat.com> | 2018-12-24 13:00:19 +0530 |
---|---|---|
committer | Rinku Kothiya <rkothiya@redhat.com> | 2020-04-07 11:09:25 +0000 |
commit | b1071f4257f139ed2a01ffb881e05d1ac00a4d37 (patch) | |
tree | d60ec3d1ad94536eef80c5094dfb2b4e02e3cc24 /THANKS | |
parent | e9a9ef482cdcff4017590ec86a7c3f20dda6e459 (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 'THANKS')
0 files changed, 0 insertions, 0 deletions