diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-06-08 11:36:12 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-06-17 03:21:11 -0700 |
commit | db3a86b6d1a3a0c50450e2e30a6f7648f0fa94db (patch) | |
tree | 240a393dc535b881ee2b9669209868c7ce3764e5 /xlators/protocol | |
parent | 5c5ae2f29e32d701310407f78fcdbc62da127e95 (diff) |
cluster/afr: Do not attempt entry self-heal if the last lookup on entry failed on src
Backport of: http://review.gluster.org/11119
Test bug-948686.t was causing shd to dump core due to gfid being NULL.
This was due to the volume being stopped while index heal's in progress,
causing afr_selfheal_unlocked_lookup_on() to fail sometimes on the src brick
with ENOTCONN. And when afr_selfheal_newentry_mark() copies the gfid off the
src iatt, it essentially copies null gfid. This was causing the assertion
as part of xattrop in protocol/client to fail.
Change-Id: I5e6e3f00bc1a98cad7fd55cc3a6459d60ec8b0fe
BUG: 1229550
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/11131
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/protocol')
0 files changed, 0 insertions, 0 deletions