Red Hat Bugzilla – Bug 1264441
Data Tiering:Regression:Detach tier commit is passing when detach tier is in progress
Last modified: 2016-04-19 03:47:08 EDT
when detach tier is in progress, detach tier commit must not be allowed.
This was working well previously. This means it is a regression,
Could be due to fix for bz#1259694
Steps to Reproduce:
1.create a volume, start it and attac tier to vol and create lot of data on hot tier
2.now issue a detach-tier <vname> start
3. While it is in progress,issue a detach-tier <vname> commit
this wasfound during automation of qe scripts
have done a RCA on this and will begin working on a fix.
submitted fix 12272
REVIEW: http://review.gluster.org/12272 (cluster/tier: migration daemon incorrectly signals detach tier done) posted (#3) for review on release-3.7 by Dan Lambright (email@example.com)
REVIEW: http://review.gluster.org/12272 (cluster/tier: Disallow detach commit when detach in progress) posted (#4) for review on release-3.7 by Dan Lambright (firstname.lastname@example.org)
COMMIT: http://review.gluster.org/12272 committed in release-3.7 by Dan Lambright (email@example.com)
Author: Dan Lambright <firstname.lastname@example.org>
Date: Thu Oct 1 11:05:25 2015 -0400
cluster/tier: Disallow detach commit when detach in progress
1. Check if detach is running, disallow detach commit if so.
2. Cleanup shutdown of tier daemon on detach: do not rerun fix-layout,
do not send incorrect status back to glusterd.
Signed-off-by: Dan Lambright <email@example.com>
Tested-by: Gluster Build System <firstname.lastname@example.org>
Reviewed-by: Joseph Fernandes
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.7.7, please open a new bug report.
glusterfs-3.7.7 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.