On Fri, Mar 11, 2016 at 5:20 PM, Ben Pfaff <b...@ovn.org> wrote:
> On Fri, Mar 11, 2016 at 05:10:15PM +0100, Ivan Kelly wrote:
>> > Just to make sure, does this means that a Zookeeper client cannot read a
>> > consistent snapshot of the entire database?
>> Yes, exactly. It can only read one node at a time, so writes can occur
>> between the reading of two nodes.
>
> OK.  That's a major downside for this use case, because the OVN clients
> are accustomed to viewing a consistent snapshot of the database.
Well, if you do the log tailing thing I suggested, then the client
will have access to a consistent snapshot, since they would only read
from the database directly once, and all client updates after that
would come from the log which arrive in a well defined order.

-Ivan
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to