summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorDumitru Ceara <dceara@redhat.com>2022-06-24 11:55:58 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-06-28 13:45:36 +0200
commita9ec4e3be3be8d0a6e2e0b4571d94b045cf671c6 (patch)
tree76fae3770b6da9b704c0f1972958c8a8be12cc93 /NEWS
parentc558f9f1e131e8d97cbf46bfd69aa2880ec4893d (diff)
downloadopenvswitch-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--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index eb6e36f65..944c31088 100644
--- a/NEWS
+++ b/NEWS
@@ -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