[ovs-dev] [PATCH v4] ovsdb-tool: Add a db consistency check to the ovsdb-tool check-cluster command

Ilya Maximets i.maximets at ovn.org
Wed Sep 16 13:58:04 UTC 2020

On 7/31/20 4:53 PM, Dumitru Ceara wrote:
> On 7/30/20 12:41 PM, Federico Paolinelli wrote:
>> There are some occurrences where the database ends up in an inconsistent
>> state. This happened in ovn-k8s and is described in [0].
>> Here we are adding a supported way to check that a given db is consistent,
>> which is less error prone than checking the logs.
>> Tested against both a valid db and a corrupted db attached to the
>> above bug [1]. Also, tested  with a fresh db that did not do a snapshot.
>> [0]: https://bugzilla.redhat.com/show_bug.cgi?id=1837953#c23
>> [1]: https://bugzilla.redhat.com/attachment.cgi?id=1697595
>> Signed-off-by: Federico Paolinelli <fpaoline at redhat.com>
>> Suggested-by: Dumitru Ceara <dceara at redhat.com>
> Looks good to me, thanks!
> Acked-by: Dumitru Ceara <dceara at redhat.com>


Applied to master.

Best regards, Ilya Maximets.

More information about the dev mailing list