[Bugs] [Bug 1467268] Heal info shows incorrect status
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 3 15:20:58 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1467268
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17675 committed in release-3.11 by
Shyamsundar Ranganathan (srangana at redhat.com)
------
commit e9699c20eebf88d658eb9e32d7c6d00288b28cc2
Author: Ravishankar N <ravishankar at redhat.com>
Date: Sun Jun 25 21:50:09 2017 +0530
glfsheal: prevent background self-heals
Problem:
For a file in gfid split-brain, the parent directory ('/' during
testing) was detected as possibly undergoing heal instead of split-brain
in `heal-info` output. Also, it was not being displayed in `info
split-brain` output for the same reason. The problem was that when
`glfsheal`
was run, lookup on '/' triggered a background self-heal due to which
processing
of '/' during `heal info` failed to acquire locks with errno=EAGAIN.
Fix:
Set background-self-heal-count to zero while launching glfsheal.
> Reviewed-on: https://review.gluster.org/13772
> CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
> NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
> Smoke: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>
(cherry picked from commit b4db625d0ccb4fdc6537ed9f6e8ebeaffd1c4873)
Change-Id: I153a7c75af71f213a4eefacf504a0f9806c528a5
BUG: 1467268
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-on: https://review.gluster.org/17675
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=NCxc5oNZJk&a=cc_unsubscribe
More information about the Bugs
mailing list