summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-server.1.in
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2020-10-25 02:45:05 +0200
committerIlya Maximets <i.maximets@ovn.org>2020-11-10 01:23:47 +0100
commit80e3becdc1eea9b92253a391c0071e6218dda7d8 (patch)
tree37b1955581b9068d4ae17cdeed7375d5d877bc89 /ovsdb/ovsdb-server.1.in
parenteca34ebd7c418c0351eb92ae615d07edc31a9404 (diff)
downloadopenvswitch-80e3becdc1eea9b92253a391c0071e6218dda7d8.tar.gz
raft: Make backlog thresholds configurable.
New appctl 'cluster/set-backlog-threshold' to configure thresholds on backlog of raft jsonrpc connections. Could be used, for example, in some extreme conditions where size of a database expected to be very large, i.e. comparable with default 4GB threshold. Acked-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ovsdb/ovsdb-server.1.in')
-rw-r--r--ovsdb/ovsdb-server.1.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-server.1.in b/ovsdb/ovsdb-server.1.in
index 07a36cc7d..5a7f3ba13 100644
--- a/ovsdb/ovsdb-server.1.in
+++ b/ovsdb/ovsdb-server.1.in
@@ -381,6 +381,11 @@ This command must be executed on the leader. It initiates the change to the
cluster. To see if the change takes effect (committed), use
\fBcluster/status\fR to show the current setting. Once a change is committed,
it persists at server restarts.
+.IP "\fBcluster/set\-backlog\-threshold \fIdb\fR \fIn_msgs\fR \fIn_bytes\fR"
+Sets the backlog limits for \fIdb\fR's RAFT connections to a maximum of
+\fIn_msgs\fR messages or \fIn_bytes\fR bytes. If the backlog on one of the
+connections reaches the limit, it will be disconnected (and re-established).
+Values are checked only if the backlog contains more than 50 messages.
.
.so lib/vlog-unixctl.man
.so lib/memory-unixctl.man