[Bugs] [Bug 1602866] dht: Crash seen in thread dht_dir_attr_heal
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jul 19 03:04:40 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1602866
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20530 committed in master by "N
Balachandran" <nbalacha at redhat.com> with a commit message- cluster/dht: Set
loc->gfid before healing attr
AFR takes inodelks when setting attrs. The loc->gfid
and loc->inode->gfid were both null when dht_dir_attr_heal
was called during a fresh lookup of an existing directory.
As the gfid is null, client_pre_inodelk asserts in the gfid
check.
We now set the loc->gfid before calling dht_dir_attr_heal.
Change-Id: I457f5a73fd301d97a03ca032587e73d4803298ac
fixes: bz#1602866
Signed-off-by: N Balachandran <nbalacha 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=ES4kdWRO2t&a=cc_unsubscribe
More information about the Bugs
mailing list