Hi Philip
It seems you've managed to replicate a transactional relational
database using Raft. From knowing both Raft and something about RDBMS
transactions, it is not at all obvious how this is even possible. If
you'd like to take the time to explain more, I'd love to hear it.
To be a bit more specific (but don't let this restrict you in
explaining what you've done), Raft describes a system where
replciation happens first and only at a much later time are the
replicated changes committed to the "state machine", in your casel
sqlite. It assumes that such commit to state machine (sqlite) will
always be possible, since from a cluster point of view the transaction
is already committed. Otoh this is not how a multi-client RDBMS is
working, you might have other clients holding locks to the same
resources that are being replicated.
It's of course possible to replicate also RDBMSes, but it seems to me
that Raft doesn't directly address complex transactions, rather
describes more or less a key-value database.
henrik
> --
> You received this message because you are subscribed to the Google Groups
> "raft-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
raft-dev+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
henri...@avoinelama.fi
+358-40-5697354 skype: henrik.ingo irc: hingo
www.openlife.cc
My LinkedIn profile:
http://fi.linkedin.com/pub/henrik-ingo/3/232/8a7