[Bugs] [Bug 1337831] one of vm goes to paused state when network goes down and comes up back
bugzilla at redhat.com
bugzilla at redhat.com
Sun May 29 11:13:41 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1337831
--- Comment #5 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14453 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit 1d28634b9aab65b08c1c2e9a6f48619c9fa494dc
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Mon May 16 15:05:36 2016 +0530
cluster/afr: Refresh inode for inode-write fops in need
Problem:
If a named fresh-lookup is done on an loc and the fop fails on one of the
bricks or not sent on one of the bricks, but by the time response comes to
afr,
if the brick is up, 'can_interpret' will be set to false in
afr_lookup_done(),
this will lead to inode-ctx for that inode to be not set, this can lead to
EIO
in case of a transaction as it depends on 'readable' array to be available
by
that point.
Fix:
Refresh inode for inode-write fops for the ctx to be set if it is not
already
done at the time of named fresh-lookup or if the file is in split-brain
where
we need to perform one more refresh before failing the fop to check if the
file
is still in split-brain or not.
>BUG: 1336612
>Change-Id: I5c50b62c8de06129b8516039f7c252e5008c47a5
>Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
>Reviewed-on: http://review.gluster.org/14368
>Smoke: Gluster Build System <jenkins at build.gluster.com>
>NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
>Reviewed-by: Ravishankar N <ravishankar at redhat.com>
>CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
>Backport of http://review.gluster.org/14545
BUG: 1337831
Change-Id: If4465ab8fc506e1f905b623b82a53bdab8f5cffd
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
Reviewed-on: http://review.gluster.org/14453
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Ravishankar N <ravishankar at redhat.com>
Smoke: Gluster Build System <jenkins at build.gluster.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.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=MYCUiMC5s3&a=cc_unsubscribe
More information about the Bugs
mailing list