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

Dumitru Ceara noreply at github.com
Wed Apr 28 10:39:03 UTC 2021


  Branch: refs/heads/branch-21.03
  Home:   https://github.com/ovn-org/ovn
  Commit: 4920ba77330da72b065b112162581a9d658d5b15
      https://github.com/ovn-org/ovn/commit/4920ba77330da72b065b112162581a9d658d5b15
  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>
(cherry picked from commit 9c9b6b1d98e38d3d7a1dcf01741b095a6b9e8f0c)




More information about the git mailing list