Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovsdb: Fix database statistics during the database replacement.
The counter for the number of atoms has to be re-set to the number from the new database, otherwise the value will be incorrect. For example, this is causing the atom counter doubling after online conversion of a clustered database. Miscounting may also lead to increased memory consumption by the transaction history or otherwise too aggressive transaction history sweep. Fixes: 317b1bf ("ovsdb: Don't let transaction history grow larger than the database.") Acked-by: Han Zhou <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information