Bug 1286067

Summary: DHT + add brick : Directory self heal is fixing hash layout for few Directories
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Susant Kumar Palai <spalai>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.1CC: grajaiya, mzywusko, nbalacha, racpatel, rgowdapp, rhs-bugs, rtalur, sankarshan, spalai, storage-qa-internal, tdesala, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: dht-add-brick,
Fixed In Version: 3.7.9-10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1049771 Environment:
Last Closed: 2016-09-06 08:39:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1049771    
Bug Blocks: 1056406    

Comment 2 Raghavendra G 2016-07-01 11:53:43 UTC
This is not an issue affected by turning lookup-optimize=on. This is for the reason that its an add-brick scenario, during which clients resort to lookup-everywhere even though lookup-optimize=on. Hence dropping the tag.

Comment 3 Prasad Desala 2016-09-01 08:49:55 UTC
This issue is not seen with glusterfs version 3.7.9-10.el7rhgs.x86_64.

Here are the steps that were performed,

1. Created a distributed replica volume and mounted it.
2. Created Directories from mount point.
4. Added new bricks to this volume. Note: Did not start rebalance here.
5. From mount point executed commands which look for those directories.
6. Verified  hash layout for those directories on newly added bricks.

Directory hash layout on the newly added brick are set to zeros and the layout for those directories are only fixed when performed rebalance.

Comment 4 Nithya Balachandran 2016-09-01 08:58:43 UTC
Thanks Prasad. Moving this to ON_QA based on comment#3.

Comment 5 Prasad Desala 2016-09-01 09:05:16 UTC
Based on Comment 3 moving this bug to Verified.

Comment 6 Nithya Balachandran 2016-09-06 08:39:57 UTC
Closing this BZ as per comment#5.