gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Client side AFR race conditions?


From: Martin Fick
Subject: Re: [Gluster-devel] Client side AFR race conditions?
Date: Tue, 6 May 2008 12:09:09 -0700 (PDT)

--- address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]