Wout Mertens <wout.mert...@gmail.com> writes:

> Oh I see, of course. So I assume the client library automatically sends
> write commands to the current leader?

No, that's up the application for now, the library just returns you an
error if you attempt a write on a non-leader node.

> I wonder if there is value in setting a preferred leader, but probably
> that's messing too much with the Raft protocol.

I'm not entirely sure to understand, but if you mean "if possible, I
generally would like the leader to be this node, please", no that's
currently not supported. I don't see a reason why it couldn't be added,
but it seems a kind of exotic requirement in today's "cats vs pets" way
of thinking to nodes.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to