[ovs-git] [ovn-org/ovn] 9c9b6b: binding: Don't reset expected seqno for interfaces...

Dumitru Ceara noreply at github.com
Wed Apr 28 10:23:29 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 9c9b6b1d98e38d3d7a1dcf01741b095a6b9e8f0c
      https://github.com/ovn-org/ovn/commit/9c9b6b1d98e38d3d7a1dcf01741b095a6b9e8f0c
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M controller/binding.c

  Log Message:
  -----------
  binding: Don't reset expected seqno for interfaces already being installed.

If an interface is already in 'binding_iface_seqno_map' then that means
that the openflow modifications needed for its functionality have
already been sent to ovs-vswitchd and we're waiting for an openflow
barrier reply.  In such cases, don't reset the expected seqno because
this would delay the notification unnecessarily.

This scenario can be hit at scale, if Southbound DB sends a port
related update before processing the transaction in which ovn-controller
claimed the logical port.

Reported-at: https://bugzilla.redhat.com/1946420
Fixes: 4d3cb42b076b ("binding: Set Logical_Switch_Port.up when all OVS flows are installed.")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>




More information about the git mailing list