[Bugs] [Bug 1559079] test ./tests/bugs/ec/ bug-1236065.t is generating crash on build

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 22 18:44:09 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1559079

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19756 committed in release-4.0 by "Xavi
Hernandez" <xhernandez at redhat.com> with a commit message- cluster/ec: fix SHD
crash for null gfid's

When the self-heal daemon is doing a full sweep it uses readdirp to
get extra stat information from each file. This information is
obtained in two steps by the posix xlator: first the directory is
read to get the entries and then each entry is stated to get additional
info. Between these two steps, it's possible that the file is removed
by the user, so we'll get an error, leaving stat info empty.

EC's heal daemon was using the gfid blindly, causing an assert failure
when protocol/client was trying to encode the gfid.

To fix the problem a check has been added. If we detect a null gfid, we
simply ignore it and continue healing.

Backport of:
> BUG: 1558016

Change-Id: I2e4acdcecd0b6951055e50d1c37d686a2186a228
BUG: 1559079
Signed-off-by: Xavi Hernandez <xhernandez at redhat.com>

-- 
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=tm7yteoPN6&a=cc_unsubscribe


More information about the Bugs mailing list