Bug 1306909

Summary: geo-rep: xsync crawl - data file shows empty
Product: [Community] GlusterFS Reporter: Saravanakumar <sarumuga>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: avishwan, bugs, sarumuga
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard: Triaged
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:53:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Saravanakumar 2016-02-12 07:14:58 UTC
Description of problem:

With data already placed in a volume as below, 

1. Create file file1
2. Create hardlink file1_hl1 for file1
3. add data to file. file1

Now, The actual file contains no data, whereas file1_hl1 contains the data.

At the backend, only hardlink file contains glusterfs hardlink file.

Also, the link count of both file1 and file1_hl1 is 1.


Version-Release number of selected component (if applicable):
master

How reproducible:

make use of georep-basic-dr-rsync.t test script. 

run till DATA_TESTS HYBRID section.

Steps to Reproduce:
1. 	touch ${master_mnt}/${prefix}_f1

2. 	ln ${master_mnt}/${prefix}_f1 ${master_mnt}/${prefix}_hl1

3. 	echo "HelloWorld!" >> ${master_mnt}/${prefix}_f1

and verify at slave.

Actual results:
data not present in original file.

Expected results:
data present in original file.


Additional info:

Comment 1 Amar Tumballi 2018-08-29 03:53:19 UTC
Lot of time since no activity on this bug. We have either fixed it already or it is mostly not critical anymore!

Please re-open the bug if the issue is burning for you, or you want to take the bug to closure with fixes.