Bug 1306909 - geo-rep: xsync crawl - data file shows empty
geo-rep: xsync crawl - data file shows empty
Status: ASSIGNED
Product: GlusterFS
Classification: Community
Component: geo-replication (Show other bugs)
mainline
Unspecified All
unspecified Severity unspecified
: ---
: ---
Assigned To: Aravinda VK
Triaged
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-12 02:14 EST by Saravanakumar
Modified: 2016-02-16 07:15 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Saravanakumar 2016-02-12 02:14:58 EST
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:

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