[Gluster-devel] distributed locking

Brian Taber btaber at diversecg.com
Fri Nov 30 18:31:56 UTC 2007


I just ran lock tests I found in the QA section on 2 servers at the same
time with 500 threads each, they all ran successfully.  I am currently
running the TLA version of gluster, I don't know if that makes a
difference...


> Brian Taber wrote:
>> I have been running Dovecot and Postfix with a 2 brick setup and posix
>> locking enabled on each brick for a while with no problems.  This is a
>> Maildir setup...  Dovecot is setup to use fcntl for locking.... remember
>> that gluster does not support flock as fuse does not support it...
>
> Yes, I'm aware of this. But in your place, I would stop doing this until
> the GlusterFS QA test runs successfully. If it doesn't, then not losing
> data with such a setup is just a matter of luck. And for this storage
> application, I can't accept the risk.
>
>>> On Fri, 30 Nov 2007, Székelyi Szabolcs wrote:
>>>
>>>> Everything works fine as long as I don't introduce locking, which is
>>>> essential if one wishes to use the storage eg. as a backend for a mail
>>>> server.
>>> I'm sorry that I cannot answer your question, but do you have a choice
>>> in
>>> what mail server to use? Those that use the Maildir format (Like for
>>> example Postfix together with Courier-IMAP) does not need locking.
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>







More information about the Gluster-devel mailing list