RAFT and CTDB

Richard Sharpe realrichardsharpe at gmail.com
Wed Nov 19 10:45:48 MST 2014


On Sun, Nov 16, 2014 at 11:41 PM, Volker Lendecke
<Volker.Lendecke at sernet.de> wrote:
> On Sat, Nov 15, 2014 at 10:31:30AM -0800, Richard Sharpe wrote:
>> Hi Volker,
>>
>> At SDC you mentioned that you have an implementation of RAFT and I
>> assumed, perhaps incorrectly, that you were thinking of using RAFT to
>> manage things like recovery in CTDB.
>>
>> Can you tell me more about your ideas in this regard and point me at any code?
>
> It's not finished yet, sorry. I have the basic algorithm and
> configuration changes done, but log compaction is still
> missing, so this is nothing for general consumption yet.
>
> Apart from that, I want to have a dbwrap_raft eventually,
> the main goal is to meet the persistence requirements that resilient
> and persistent file handles need.

So, you guys keep saying that but never let on what the issue with
CTDB as it stands is :-( Is there some sort of secret handshake
required?

It seems to me the problem is that it is a result of a design decision
taken by CTDB where some types of TDBs are fetch on demand ...
however, if a Samba node has just recorded info that must be
persistent and no one fetches it before that node crashes then we have
just lost that persistent info.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list