Re: AFR conservative merge portability

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

 



On 12/19/2014 08:23 AM, Emmanuel Dreyfus wrote:
> Ravishankar N <ravishankar@xxxxxxxxxx> wrote:
> 
>> Point #1 would be addressed by your patch with some modifications (pending
>> review );
> 
> I addressed the points you raised but now my patch is failing just newly
> introduced ./tests/bugs/afr-quota-xattr-mdata-heal.t 
> 
> See there:
> http://build.gluster.org/job/rackspace-regression-2GB-triggered/3215/console
> Some help would be welcome on that front.
> 

There seems to be one more catch. afr_is_dirtime_splitbrain() only compares equality of type,gfid, mode, uid, gid. We need to check if application set xattrs are equal as well.

mkdir /mnt/dir
kill brick0
setfattr -n user.attr1 -v value1 /mnt/dir
kill brick1, bring up brick0
sleep 10
touch /mnt/dir
bring both bricks up.

Now metadataheal mustn't be triggered.

-Ravi
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




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

  Powered by Linux