CTDB API

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Oct 30 17:12:30 GMT 2006


On Mon, Oct 30, 2006 at 03:30:48PM +0300, Alexander Bokovoy wrote:
> When speaking of "conditional append" where do the condition function
> has to be executed? The operation itself is initiated on a client side
> but result should affect the node which is authoritative for the data
> (DMASTER), thus where this condition is checked?

My understanding is that this is a property of the database
as such. Share modes have their rules, as do byte range
locks and possibly others.

This logic (essentially the share_mode_conflict loop) has to
be coded in the DMASTER, and it needs to be aware about the
DB semantics. Not nice and clean, but fast :-)

Volker

P.S: We could encode the rules in Javascript in the DB or
so....

P.P.S: This was a JOKE! :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061030/b5583dcf/attachment.bin


More information about the samba-technical mailing list