[Bugs] [Bug 1584517] Inconsistent access permissions on directories after bringing back the down sub-volumes

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 11 03:13:54 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1584517

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20108 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- 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 at redhat.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=NSgnjKVdHg&a=cc_unsubscribe


More information about the Bugs mailing list