[ovs-dev] [RFC ovn] ovn-nbd: Detect ovn and ovn-nb db changes
Ben Pfaff
blp at nicira.com
Wed Apr 1 00:00:44 UTC 2015
On Tue, Mar 31, 2015 at 04:03:04PM -0400, Russell Bryant wrote:
> Signed-off-by: Russell Bryant <rbryant at redhat.com>
> ---
>
> This is very early, but I wanted to get feedback on the general approach used to
> detect changes in the ovn and ovn-nb dbs. Does using the IDLs and seqno seem
> like a sane approach?
>
> I don't see an easy way to tell anything about what the changes were. The TODO
> document mentions that implementing a brute force translation of the entire
> ovn-nb DB when a change happens may be the easiest first step and this approach
> seems to support that. More intelligent approaches will probably require
> context about the changes as they occur. Is that (or anything else) a reason I
> should be using some another approach for detecting db changes?
This is fine to start. The IDL doesn't currently provide a way to
find out what the changes are, for a couple of reasons. First, it
hasn't been necessary in the existing use cases. Second, I'm not sure
yet what is the best (most convenient) form for the change
notifications. Anyway, I think we should start with the simplest
possible approach, then make it more sophisticated as scale warrants.
Thanks,
Ben.
More information about the dev
mailing list