Bug 763065 (GLUSTER-1333)

Summary: [3.1.0qa4]md5sum mismatch of files on client
Product: [Community] GlusterFS Reporter: Anush Shetty <anush>
Component: replicateAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: 3.1-alphaCC: gluster-bugs, vijay, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anush Shetty 2010-08-10 14:42:13 UTC
Setup - Distribute + Replicate

I downloaded the kernel source to my /tmp and compared the md5sum between the /tmp and the client. There was a mismatch. 

root@ip-10-202-199-95:/tmp# md5sum linux-2.6.35.tar.bz2 
091abeb4684ce03d1d936851618687b6  linux-2.6.35.tar.bz2
root@ip-10-202-199-95:/tmp# cp linux-2.6.35.tar.bz2 /mnt/client1/
root@ip-10-202-199-95:/tmp# md5sum /mnt/client1/linux-2.6.35.tar.bz2 
f672be896f44de2d03848a27184a779b  /mnt/client1/linux-2.6.35.tar.bz2


After that I compared the md5sum on the backend which was correct. 

domU-12-31-39-14-04-C2:~# md5sum /mnt/ext3/exports/linux-2.6.35.tar.bz2
091abeb4684ce03d1d936851618687b6  /mnt/ext3/exports/linux-2.6.35.tar.bz2

Comment 1 Anush Shetty 2010-08-12 07:53:31 UTC
This is a bug in the performance translators. Didn't occur without performance translators

Comment 2 Anand Avati 2010-08-13 04:56:54 UTC
PATCH: http://patches.gluster.com/patch/4110 in master (fixes read data corruption seen by patch b04d963e91f8b3c72343e1043d6ed8c68699c4fe)