[ovs-git] [openvswitch/ovs] e988b8: ovsdb replication: Provide option to configure pro...

numansiddique noreply at github.com
Tue Jan 7 20:32:33 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e988b8abeec9d4be94b519c5d4ed4586ff71fde0
      https://github.com/openvswitch/ovs/commit/e988b8abeec9d4be94b519c5d4ed4586ff71fde0
  Author: Numan Siddique <numans at ovn.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M NEWS
    M ovsdb/ovsdb-server.1.in
    M ovsdb/ovsdb-server.c
    M ovsdb/replication.c
    M ovsdb/replication.h

  Log Message:
  -----------
  ovsdb replication: Provide option to configure probe interval.

When ovsdb-server is in backup mode and connects to the active
ovsdb-server for replication, and if takes more than 5 seconds to
get the dump of the whole database, it will drop the connection
soon after as the default probe interval is 5 seconds. This
results in a snowball effect of reconnections to the active
ovsdb-server.

This patch handles or mitigates this issue by setting the
default probe interval value to 60 seconds and provide the option to
configure this value from the unixctl command.

Other option could be increase the value of 'RECONNECT_DEFAULT_PROBE_INTERVAL'
to a higher value.

Acked-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list