[Bugs] [Bug 1583016] New: libgfapi: glfs init fails on afr volume with ctime feature enabled
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 28 05:05:39 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1583016
Bug ID: 1583016
Summary: libgfapi: glfs init fails on afr volume with ctime
feature enabled
Product: GlusterFS
Version: 4.1
Component: libgfapi
Assignee: bugs at gluster.org
Reporter: khiremat at redhat.com
QA Contact: bugs at gluster.org
CC: bugs at gluster.org
Depends On: 1582516
+++ This bug was initially created as a clone of Bug #1582516 +++
Description of problem:
With ctime feature enabled on afr volume libgfapi programs fail.
Basically glfs_init fails.
Version-Release number of selected component (if applicable):
mainline
How reproducible:
Always
Steps to Reproduce:
1. Create replicated gluster volume
2. Write and run a libgfapi program to use the volume
Actual results:
libgfapi program fails on afr volume.
Expected results:
libgfapi program should not fail on afr volume.
Additional info:
--- Additional comment from Worker Ant on 2018-05-25 09:13:22 EDT ---
REVIEW: https://review.gluster.org/20086 (libgfapi: Fix lookup on root) posted
(#1) for review on master by Kotresh HR
--- Additional comment from Worker Ant on 2018-05-28 00:57:49 EDT ---
COMMIT: https://review.gluster.org/20086 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- libgfapi: Fix lookup on root
Lookup on root was sending "/" as the path.
This will break the basename calculation in
loc_copy and hence lookup on root was failing
if the loc_copy was involved in the stack.
With ctime, a first lookup on root initiates
a metadata self heal because of ctime xattr
not being same on all afr subvolumes. This
results in loc_copy and hence the failure
of lookup.
Fix would be to send path with "." for the root.
fixes: bz#1582516
Change-Id: Iafe4b99f249a4f5034ad34c1d30590de0e35aa0d
Signed-off-by: Kotresh HR <khiremat at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1582516
[Bug 1582516] libgfapi: glfs init fails on afr volume with ctime feature
enabled
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list