diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2020-10-25 02:45:05 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-11-10 01:23:47 +0100 |
commit | 80e3becdc1eea9b92253a391c0071e6218dda7d8 (patch) | |
tree | 37b1955581b9068d4ae17cdeed7375d5d877bc89 /ovsdb/ovsdb-server.1.in | |
parent | eca34ebd7c418c0351eb92ae615d07edc31a9404 (diff) | |
download | openvswitch-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.in | 5 |
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 |