diff options
author | Kotresh HR <khiremat@redhat.com> | 2018-05-25 08:55:11 -0400 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-05-29 14:38:25 +0000 |
commit | 49095af5b431b8fdd90c7a578cdeba329bda4a3e (patch) | |
tree | af277c140484628906241c8c7e76233e4652d838 /tests/00-geo-rep | |
parent | e36d5c6b8c1c3800ef89a0251854bd2b7e2af924 (diff) |
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.
Backport of:
> Patch: https://review.gluster.org/#/c/20086/
> BUG: 1582516
> Change-Id: Iafe4b99f249a4f5034ad34c1d30590de0e35aa0d
(cherry picked from commit 3d38e4e47f129bdb36c3fbbd481dabe4ba4413d6)
fixes: bz#1583016
Change-Id: Iafe4b99f249a4f5034ad34c1d30590de0e35aa0d
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'tests/00-geo-rep')
0 files changed, 0 insertions, 0 deletions