Red Hat Bugzilla – Bug 1301227
Tiering should break out of iterating query file once cycle time completes.
Last modified: 2016-06-16 09:55:37 EDT
Description of problem:
When iterating the query file during migration, should break out of loop once cycle time completes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set demotion cycle time to 120 seconds.
2. Create many large files.
2. Wait for them to be demoted.
All the files will be demoted, this may take longer than 120 seconds.
As many files as can be moved in 120 seconds shall be migrated.
REVIEW: http://review.gluster.org/13284 (cluster/tier: break out of iterating query file once cycle time ends) posted (#2) for review on master by Dan Lambright (firstname.lastname@example.org)
COMMIT: http://review.gluster.org/13284 committed in master by Dan Lambright (email@example.com)
Author: Dan Lambright <firstname.lastname@example.org>
Date: Fri Jan 22 17:31:48 2016 -0500
cluster/tier: break out of iterating query file once cycle time ends
When iterating the query file during migration, tiering should
break out of the loop once cycle time completes. Otherwise it
may be possible to stay in the loop for a long time. If that
happens updates to files will become stale and have not impact
Signed-off-by: Dan Lambright <email@example.com>
Smoke: Gluster Build System <firstname.lastname@example.org>
NetBSD-regression: NetBSD Build System <email@example.com>
CentOS-regression: Gluster Build System <firstname.lastname@example.org>
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions
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.