[ovs-dev] [PATCH RFC] ovsdb-server: Preserve remotes across crash and restart.

Gurucharan Shetty shettyg at nicira.com
Thu Jun 13 16:19:40 UTC 2013

On Thu, Jun 13, 2013 at 9:14 AM, Ben Pfaff <blp at nicira.com> wrote:

> On Thu, Jun 13, 2013 at 08:29:25AM -0700, Gurucharan Shetty wrote:
> > On Wed, Jun 12, 2013 at 5:10 PM, Ben Pfaff <blp at nicira.com> wrote:
> > > This is unpolished but it shows the approach I have in mind.
> > > Sending out for comments on the approach.
> > >
> > I am fine with the approach. The two negatives I see with this:
> > * If /tmp is cleaned up routinely, we will loose the information. If we
> > decide to put this in /etc/openvswitch, it may look a little dirty when
> > program is abnormally terminated.
> tmpfile() normally creates a file and then deletes it anyhow.  I don't
> know of any /tmp reaper that can affect it.
> > * If we have multiple run time data, (ex: add/remove databases) we may
> need
> > multiple files.
> I thought that we could simply use a little more sophisticated JSON.
> Is there a reason why not?
No reason. I did not realize that you intended to do this with a single

I guess, then this fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130613/38ef1c51/attachment-0003.html>

More information about the dev mailing list