Red Hat Bugzilla – Bug 1282710
Tier: Hard link created during file promotion is lost once the migration is complete
Last modified: 2016-02-25 02:25:43 EST
Description of problem:
A hard link created when a file is being promoted will be lost once the file migration is complete.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a tier volume and FUSE mount it.
2. Create a large file FILE1 so it will take some time to migrate. This is created on the hot tier by default
3. After FILE1 is demoted, append some data to it to trigger file promotion
4. While FILE1 is being promoted, create a hardlink hlink to FILE1 in some other directory
Once FILE1 has been migrated, hlink no longer exists
Once FILE1 has been migrated, hlink should still exist
REVIEW: http://review.gluster.org/12600 (WIP cluster/tier : hardlink creation fails) posted (#1) for review on master by N Balachandran (firstname.lastname@example.org)
This has been fixed with the fix for 1305277 (http://review.gluster.org/#/c/13391/)