diff options
author | root <root@localhost.localdomain> | 2019-04-07 19:31:17 +0530 |
---|---|---|
committer | hari gowtham <hari.gowtham005@gmail.com> | 2019-09-27 11:26:15 +0000 |
commit | 356d46b13031be82cc2e0b0eaad7e7fcfccc7c35 (patch) | |
tree | 5cd86d75ac2b835a23c33af2996712343289b29c /api/src/glfs-handles.h | |
parent | e9fd07ded055387a475a6047a2a4a1947e3d0a16 (diff) |
dht: Custom xattrs are not healed in case of add-brick
Problem: If any custom xattrs are set on the directory before
add a brick, xattrs are not healed on the directory
after adding a brick.
Solution: xattr are not healed because dht_selfheal_dir_mkdir_lookup_cbk
checks the value of MDS and if MDS value is not negative
selfheal code path does not take reference of MDS xattrs.Change the
condition to take reference of MDS xattr so that custom xattrs are
populated on newly added brick
Backport of:
> Patch: https://review.gluster.org/22520
> BUG: bz#1702299
> Change-Id: Id14beedb98cce6928055f294e1594b22132e811c
> Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
fixes: bz#1753561
Change-Id: Id14beedb98cce6928055f294e1594b22132e811c
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'api/src/glfs-handles.h')
0 files changed, 0 insertions, 0 deletions