ovsdb: Check that ovsdb-server truncates corrupted database logs.
authorBen Pfaff <blp@nicira.com>
Mon, 28 Mar 2011 19:57:20 +0000 (12:57 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 31 Mar 2011 23:43:51 +0000 (16:43 -0700)
When ovsdb-server reads a database that is corrupted at the log level
(that is, when ovsdb_log detects the corruption by checking the SHA-1 hash
of the record or JSON parser error reporting), then writing to the database
should discard the corrupted data and thereby fix the problem for future
ovsdb-server runs.

This already worked OK.  This just adds an extra test.


No differences found