Bug 1282710 - Tier: Hard link created during file promotion is lost once the migration is complete
Summary: Tier: Hard link created during file promotion is lost once the migration is c...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nithya Balachandran
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On: 1305277 1311836
Blocks: 1285730
TreeView+ depends on / blocked
 
Reported: 2015-11-17 08:28 UTC by Nithya Balachandran
Modified: 2018-08-29 03:18 UTC (History)
1 user (show)

Fixed In Version: glusterfs-4.1.3 (or higher)
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1285730 (view as bug list)
Environment:
Last Closed: 2018-08-29 03:18:28 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Nithya Balachandran 2015-11-17 08:28:21 UTC
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):


How reproducible:

Consistently

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


Actual results:
Once FILE1 has been migrated, hlink no longer exists

Expected results:
Once FILE1 has been migrated, hlink should still exist

Additional info:

Comment 1 Vijay Bellur 2015-11-17 15:03:56 UTC
REVIEW: http://review.gluster.org/12600 (WIP cluster/tier : hardlink creation fails) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 2 Nithya Balachandran 2016-02-08 06:06:00 UTC
This has been fixed with the fix for 1305277 (http://review.gluster.org/#/c/13391/)


Note You need to log in before you can comment on or make changes to this bug.