Re: [ovs-dev] [bug5144 5/5] ovsdb: Truncate bad transactions from database log.

2011-03-31 Thread Ben Pfaff
Thanks for all the reviews. I pushed out this series. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [bug5144 5/5] ovsdb: Truncate bad transactions from database log.

2011-03-30 Thread Ethan Jackson
Looks Good. I didn't closely review the tests. Ethan On Mon, Mar 28, 2011 at 1:07 PM, Ben Pfaff wrote: > When ovsdb-server reads a database file that is corrupted at the > transaction level (that is, the transaction is valid JSON and has the > correct SHA-1 hash, but it does not describe a vali

[ovs-dev] [bug5144 5/5] ovsdb: Truncate bad transactions from database log.

2011-03-28 Thread Ben Pfaff
When ovsdb-server reads a database file that is corrupted at the transaction level (that is, the transaction is valid JSON and has the correct SHA-1 hash, but it does not describe a valid database transaction), then ovsdb-server should truncate it and overwrite it by valid transactions. However, u