[Gluster-users] Different file in two bricks, no split-brain detected

Chaloulos, Klearchos (Nokia - GR/Athens) klearchos.chaloulos at nokia.com
Mon Feb 1 08:39:23 UTC 2016


Hello,

Sorry for not replying, but lately the issue cannot be reproduced. If we have any new occurrences I’ll collect the logs and send them here.

Klearchos

From: EXT Krutika Dhananjay [mailto:kdhananj at redhat.com]
Sent: Wednesday, January 27, 2016 7:12 AM
To: Chaloulos, Klearchos (Nokia - GR/Athens) <klearchos.chaloulos at nokia.com>
Cc: gluster-users at gluster.org
Subject: Re: [Gluster-users] Different file in two bricks, no split-brain detected

Hi,

Could you share the following pieces of information:

1) output of `gluster volume info <VOL>`
2) the client/mount logs
3) glustershd logs

-Krutika

________________________________
From: "Klearchos Chaloulos (Nokia - GR/Athens)" <klearchos.chaloulos at nokia.com<mailto:klearchos.chaloulos at nokia.com>>
To: gluster-users at gluster.org<mailto:gluster-users at gluster.org>
Sent: Tuesday, January 26, 2016 9:57:38 PM
Subject: [Gluster-users] Different file in two bricks,        no split-brain detected

Description of problem:
My setup has 5 gluster volumes, and each of them has 2 bricks as backend.
When I copy a large file (100MB) in a gluster volume, 9/10 times it works OK. But about 1 in 10 times the resulting md5 is wrong. After checking I found that the file in one brick has the correct md5sum, while the file in the other brick has a wrong md5sum. The size of the two files is the same.
By running "cmp -l <correct_file> <wrong_file>"
I found that the difference was in 49 bytes. So the files in the two bricks had the same size, but 49 files were different. Interestingly enough I saw the same number of 49 bytes being different at every check that I made.

Do you know what might cause this behavior, has anyone seen something like this before? Is this a bug in glusterfs?


Version-Release number of selected component (if applicable):
glusterfs 3.7.5 built on Nov 19 2015 16:29:59
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.


How reproducible:
Not easy to reproduce, about 1 in 10 times in some environments, not reproducible at all in other environments.

Steps to Reproduce:
1. scp <100MB file> <path in gluster volume>

Actual results:
1. md5sum of destination should be the same as the source
2. If checksum of files is different between the two bricks, the command "gluster volume heal <vol-name> info split-brain" should return that the two bricks are in split-brain.


Expected results:
1. 1 in 10 times the destination file has incorrect checksum. Size is the same, but 49 bytes are altered.
2. "gluster volume heal <vol-name> info split-brain" does not return that the bricks are in split-brain, even though the checksum of the file in the two bricks is different. The size of the file is the same in the two bricks. But 49 bytes are altered.

Additional info:


_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>
http://www.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160201/803f0829/attachment.html>


More information about the Gluster-users mailing list