Re: Client side AFR race conditions?

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

 



--- gordan@xxxxxxxxxx wrote:

> Hmm... So you are saying the problem is writing
> without locking? 

No, others are saying that. :)  I am saying that 
writing without locking should be supported (after all
how do I lock from a script, certainly writing to
glusterfs from a script should be supported?) and
it can cause split brain if using AFR.  

> Should writing to a file not involve
> an implicit lock, regardles of flock?

While that might solve it, it certainly would be a
performance hit.  At this point I would welcome even
the slow locking solution.  Since it seems pretty easy
to cause this problem, I would not trust AFR to say a
mail spool without some way of preventing this.

-Martin



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ




[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