Hi!

The RFC contains this:

        If "ephemeral" is specified as true, then this column's values
        are not guaranteed to be durable; they may be lost when the
        database restarts.  A column whose type (either key or value) is
        a strong reference to a table that is not part of the root set
        is always durable, regardless of this value.  (Otherwise,
        restarting the database could lose entire rows.)

I would like to understand why it was decided that a strong reference to
a non-root table is always durable.

I can understand the comment about the database losing rows, but from
where I stands, this looks like if you don't want to happen, then the
solution is to not mark the reference as ephemeral.

This is actually implemented in the code: when OVSDB loads the schema,
it looks at the reference and marks the column as durable, so the rest
of the code behaves as if the ephemeral attribute was never there.

Am I missing something really obvious besides the comment in the RFC?

Thanks!

Marcelo
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to