Self heal doesn't seem to work when file is updated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
     Glusterfs identifies files using a gfid. Same file on both the replicas contain same gfid. What happens when you edit a text file is a new backup file(different gfid) is created and the data is written to it and then it is renamed to the original file thus changing the gfid on the bricks that are up. When the old brick comes back up it finds that the gfid of the same file has changed. This case is not handled in the code at the moment, I am working on it.

Pranith.
----- Original Message -----
From: "Joe Landman" <landman at scalableinformatics.com>
To: "Mohit Anchlia" <mohitanchlia at gmail.com>
Cc: gluster-users at gluster.org
Sent: Tuesday, March 8, 2011 11:43:37 PM
Subject: Re: Self heal doesn't seem to work when file is	updated

On 03/08/2011 01:10 PM, Mohit Anchlia wrote:

ok ...

>> Turn up debugging on the server.  Then try your test.  See if it still
>> fails.

It fails with the gluster client but not the NFS client?

Have you opened a bug report on the bugzilla?

-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics Inc.
email: landman at scalableinformatics.com
web  : http://scalableinformatics.com
        http://scalableinformatics.com/sicluster
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux