Bug 862967 - Heal uid/gid of directories in distribute
Summary: Heal uid/gid of directories in distribute
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-04 03:55 UTC by shishir gowda
Modified: 2013-12-09 01:33 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Clone Of:
Environment:
Last Closed: 2013-07-24 17:11:55 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description shishir gowda 2012-10-04 03:55:22 UTC
Description of problem:
If there is mismatch of uid/gid on a directory, it never gets healed, unless there is over-write of these attrs.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. create dir
2. take down one brick
3. change ownership (chown) of dir
4. bring brick back up
  
Actual results:
dir ownerships differ

Expected results:
dir ownership should not differ

Additional info:

Comment 1 shishir gowda 2012-10-11 05:57:39 UTC
Fix out for review (http://review.gluster.org/#change,3964).

To test the fix:
1. Create >2 bricks dht volume
2. Create dir
3. Kill one of the bricks
4. chown on the bricks from client
5. force start volume to brick back the killed process
6. trigger a lookup on client
7. Check backend ownership of dir in question. It should have gotten the latest ownership

Comment 2 Vijay Bellur 2012-11-29 21:56:22 UTC
CHANGE: http://review.gluster.org/3964 (cluster/dht: Heal dir uid/gid) merged in master by Anand Avati (avati)


Note You need to log in before you can comment on or make changes to this bug.