Description of problem: When rebalance is executed after adding a brick (or some other operation that changes the layout) on a dispersed volume with lookup-optimize enabled, some files are not migrated to the right brick. Version-Release number of selected component (if applicable): mainline How reproducible: Always Steps to Reproduce: 1. Create a disperse volume 2. Enable lookup-optimize 3. Create some files 4. Add new bricks 5. Run rebalance Actual results: Some files are not migrated Expected results: All files should be migrated Additional info: There's a bug in EC that causes the request for trusted.glusterfs.list-node-uuids xattr to be only processed in one subvolume. This causes that the resulting list only contains one of the UUIDs and all the other are set to the null uuid, as if they were down.
REVIEW: https://review.gluster.org/19784 (cluster/ec: send list-node-uuids request to all subvolumes) posted (#1) for review on master by Xavi Hernandez
COMMIT: https://review.gluster.org/19784 committed in master by "Xavi Hernandez" <xhernandez> with a commit message- cluster/ec: send list-node-uuids request to all subvolumes The xattr trusted.glusterfs.list-node-uuids was only sent to a single subvolume. This was returning null uuids from the other subvolumes as if they were down. This fix forces that xattr to be requested from all subvolumes. Change-Id: If62eb39a6857258923ba625e153d4ad79018ea2f fixes: bz#1561406 Signed-off-by: Xavi Hernandez <xhernandez>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-v4.1.0, please open a new bug report. glusterfs-v4.1.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2018-June/000102.html [2] https://www.gluster.org/pipermail/gluster-users/