Open yaqiangz opened 1 year ago
@adyeung please provide a fix proposal for this race condition. We need a generic solution for this as we see similar issues before. OA tries to get the BVID and due to race condition when FDB event comes it will hit this race condition.
FDB events are processed by fdborch and sairedis in different thread context, causing the FDB ref count to be out of sync sometimes. Updating sairedis from the same thread as fdborch is an option to fix the issue. @yaqiangz, can you please provide the techsupport so that I can confirm that it is the same issue?
FDB events are processed by fdborch and sairedis in different thread context, causing the FDB ref count to be out of sync sometimes. Updating sairedis from the same thread as fdborch is an option to fix the issue. @yaqiangz, can you please provide the techsupport so that I can confirm that it is the same issue?
@anilkpan, it is not hard to reproduce the error by following steps I mentioned, could you please follow that to reproduce, maybe it is more helpful for trouble shooting.
Description
By frequently modifying vlan, an error appears in syslog:
swss#orchagent: :- update: Failed to get port by bridge port ID 0x3a000000000b93.
Steps to reproduce the issue:
Describe the results you received:
Errors in syslog:
Describe the results you expected:
Not error logs in syslog during modifying vlan
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):