Red Hat Bugzilla – Bug 1251121
Unable to demote files in tiered volumes when cold tier is EC.
Last modified: 2016-06-16 09:29:42 EDT
REVIEW: http://review.gluster.org/11855 (cluster/tier: fix demotion when cold tier is EC) posted (#1) for review on master by Dan Lambright (email@example.com)
REVIEW: http://review.gluster.org/11855 (cluster/tier: fix demotion when cold tier is EC) posted (#2) for review on master by Dan Lambright (firstname.lastname@example.org)
COMMIT: http://review.gluster.org/11855 committed in master by Dan Lambright (email@example.com)
Author: Dan Lambright <firstname.lastname@example.org>
Date: Thu Aug 6 09:59:35 2015 -0400
cluster/tier: fix demotion when cold tier is EC
We did not set the gfid in the loc structure in tier demotion. EC
has a sanity check which fails FOPs when the loc gfid mismatches
with the file attribute. When the FOP failed demotion was aborted.
Signed-off-by: Dan Lambright <email@example.com>
Tested-by: NetBSD Build System <firstname.lastname@example.org>
Tested-by: Gluster Build System <email@example.com>
Reviewed-by: mohammed rafi kc <firstname.lastname@example.org>
Reviewed-by: Venky Shankar <email@example.com>
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.
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-3.8.0, please open a new bug report.
glusterfs-3.8.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.