diff options
author | Mohit Agrawal <moagrawa@redhat.com> | 2018-05-31 12:29:35 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-07-11 03:13:24 +0000 |
commit | e57cbae0bcc3d8649b869eda5ec20f3c6a6d34f0 (patch) | |
tree | 52059d8e2e38143717b88e6f2683cfacf142463a /xlators/protocol | |
parent | e31c7a7c0c1ea3f6e931935226fb976a92779ba7 (diff) |
dht: Inconsistent permission for directories after brick stop/start
Problem: Inconsistent access permissions on directories after
bringing back the down sub-volumes, in case of directories dht_setattr
first wind a call on MDS once call is finished on MDS then wind a call
on NON-MDS.At the time of revalidating dht just compare the uid/gid with
stbuf uid/gid and if anyone differs set a flag to heal the same.
Solution: Add a condition to compare permission also in dht_revalidate_cbk
to set a flag to call dht_dir_attr_heal.
BUG: 1584517
Change-Id: I3e039607148005015b5d93364536158380d4c5aa
fixes: bz#1584517
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Diffstat (limited to 'xlators/protocol')
0 files changed, 0 insertions, 0 deletions