diff options
author | karthik-us <ksubrahm@redhat.com> | 2018-06-05 15:57:16 +0530 |
---|---|---|
committer | karthik-us <ksubrahm@redhat.com> | 2018-07-16 22:01:34 +0530 |
commit | 762dff25c46e3be3b0e72bbdb63670edd5e96f17 (patch) | |
tree | 008d0046d43d477a1778a5a18839ef8dddb01d75 /extras | |
parent | 7dd08a4dd056f8b721d56012769cf299cd1afb53 (diff) |
cluster/afr: Mark dirty for entry transactions for quorum failures
Problem:
If an entry creation transaction fails on quprum number of bricks
it might end up setting the pending changelogs on the file itself
on the brick where it got created. But the parent does not have
any entry pending marker set. This will lead to the entry not
getting healed by the self heal daemon automatically.
Fix:
For entry transactions mark dirty on the parent if it fails on
quorum number of bricks, so that the heal can do conservative
merge and entry gets healed by shd.
Change-Id: I56448932dd409b3ddb095e2ae32e037b6157a607
fixes: bz#1586020
Signed-off-by: karthik-us <ksubrahm@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions