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:
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
CHANGE: http://review.gluster.org/3964 (cluster/dht: Heal dir uid/gid) merged in master by Anand Avati (avati)