diff options
author | Dumitru Ceara <dceara@redhat.com> | 2022-06-24 11:55:58 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-06-28 13:45:36 +0200 |
commit | a9ec4e3be3be8d0a6e2e0b4571d94b045cf671c6 (patch) | |
tree | 76fae3770b6da9b704c0f1972958c8a8be12cc93 /NEWS | |
parent | c558f9f1e131e8d97cbf46bfd69aa2880ec4893d (diff) | |
download | openvswitch-a9ec4e3be3be8d0a6e2e0b4571d94b045cf671c6.tar.gz |
ovsdb-server: Log database transactions for user requested tables.
Add a new command, 'ovsdb-server/tlog-set DB:TABLE on|off', which
allows the user to enable/disable transaction logging for specific
databases and tables.
By default, logging is disabled. Once enabled, logs are generated
with level INFO and are also rate limited.
If used with care, this command can be useful in analyzing production
deployment performance issues, allowing the user to pin point
bottlenecks without the need to enable wider debug logs, e.g., jsonrpc.
A command to inspect the logging state is also added:
'ovsdb-server/tlog-list'.
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ Post-v2.17.0 - OVSDB: * 'relay' service model now supports transaction history, i.e. honors the 'last-txn-id' field in 'monitor_cond_since' requests from clients. + * New unixctl command 'ovsdb-server/tlog-set DB:TABLE on|off". + If turned on, ovsdb-server will log (at level INFO and rate limited) + all operations that are committed to table TABLE in the DB database. - OVSDB-IDL: * New monitor mode flag, OVSDB_IDL_WRITE_CHANGED_ONLY, allowing applications to relax atomicity requirements when dealing with |