diff options
author | Ravishankar N <ravishankar@redhat.com> | 2018-12-24 13:00:19 +0530 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2020-04-02 04:32:57 +0000 |
commit | 2d5ba449e9200b16184b1e7fc84cabd015f1f779 (patch) | |
tree | 6f2bfaa16d6d9f7e20dea75454dbf7b869165aaf /extras/logger.conf.example | |
parent | 6ef82683064a87c434bd67e2004935281e4c04cc (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.
Fixes: #1067
Change-Id: If1b050b70b0ad911e162c04db4d89b263e2b8d7b
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'extras/logger.conf.example')
0 files changed, 0 insertions, 0 deletions