diff options
author | karthik-us <ksubrahm@redhat.com> | 2019-09-05 16:14:50 +0530 |
---|---|---|
committer | hari gowtham <hari.gowtham005@gmail.com> | 2019-10-17 10:52:54 +0000 |
commit | b69eb47dd3ee968325fa070ee500c8b70fcc96bc (patch) | |
tree | 3ce5a5d1f8613e9cd4dd778bba1966805a05b272 /tests/volume.rc | |
parent | 50dbcd45fa3165247608e2b889d6a802ba5d6323 (diff) |
cluster/afr: Heal entries when there is a source & no healed_sinks
Problem:
In a situation where B1 blames B2, B2 blames B1 and B3 doesn't blame
anything for entry heal, heal will not complete even though we have
clear source and sinks. This will happen because while doing
afr_selfheal_find_direction() only the bricks which are blamed by
non-accused bricks are considered as sinks. Later in
__afr_selfheal_entry_finalize_source() when it tries to mark all the
non-sources as sinks it fails to do so because there won't be any
healed_sinks marked, no witness present and there will be a source.
Fix:
If there is a source and no healed_sinks, then reset all the locked
sources to 0 and healed sinks to 1 to do conservative merge.
Change-Id: If40d8bc95d52a52b2730f55bdcf135109b421548
Fixes: bz#1760706
Signed-off-by: karthik-us <ksubrahm@redhat.com>
Diffstat (limited to 'tests/volume.rc')
0 files changed, 0 insertions, 0 deletions