CTDB - the 'Mainz' plan for clustered Samba

simo idra at samba.org
Sun Oct 1 13:31:07 GMT 2006

On Sun, 2006-10-01 at 16:48 +1000, tridge at samba.org wrote:
> James,
>  > Can you elaborate more on the role of the LMASTER? If LMASTER assignment
>  > is per-record, how do I figure out which LMASTER to contact to find the
>  > DMASTER for a particular record?
> It's just a hash on the key for the record. That's what I mean by
> this:
>   "The LMASTER for a particular record is determined solely by the
>   number of virtual nodes in the cluster and the key for the record."
> so simplest algorithm would be 
>    LMASTER = hash(key) % numnodes

So what happen if you add or remove a node?


Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org

More information about the samba-technical mailing list