[ovs-dev] RFC: OVN database options

Ivan Kelly ivan at midokura.com
Fri Mar 11 16:26:06 UTC 2016


On Fri, Mar 11, 2016 at 5:20 PM, Ben Pfaff <blp at 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



More information about the dev mailing list