sonic-buildimage/files
vganesan-nokia 5281005304
[swss] Chassis db clean up optimization and bug fixes (#16454) (#16541)
* [swss] Chassis db clean up optimization and bug fixes

This commit includes the following changes:
    - Fix for regression failure due to error in finding CHASSIS_APP_DB in
    pizzabox (#PR 16451)
    - After attempting to delete the system neighbor entries from
    chassis db, before starting clearing the system interface entries,
    wait for sometime only if some system neighbors were deleted.
    If there are no system neighbors entries deleted for the asic coming up,
    no need to wait.
    - Similar changes for system lag delete. Before deleting the
    system lag, wait for some time only if some system lag memebers were
    deleted. If there are no system lag members deleted no need to wait.
    - Flush the SYSTEM_NEIGH_TABLE from the local STATE_DB. While asic
    is coming up, when system neigh entries are deleted from chassis ap
    db (as part of chassis db clean up), there is no orchs/process running to
    process the delete messages from chassis redis. Because of this, stale system
    neigh are entries present in the local STATE_DB. The stale entries result in
    creation of orphan (no corresponding data path/asic db entry) kernel neigh
    entries during STATE_DB:SYSTEM_NEIGH_TABLE entries processing by nbrmgr (after
    the swss serive came up). This is avoided by flushing the SYSTEM_NEIGH_TABLE from
    the local STATE_DB when sevice comes up.

Signed-off-by: vedganes <veda.ganesan@nokia.com>

* [swss] Chassis db clean up bug fixes review comment fix - 1

Debug logs added for deletion of other tables (SYSTEM_INTERFACE and SYSTEM_LAG_TABLE)

Signed-off-by: vedganes <veda.ganesan@nokia.com>

---------

Signed-off-by: vedganes <veda.ganesan@nokia.com>
(cherry picked from commit b13b41fc22)
2023-09-14 14:07:15 -07:00
..
Aboot [platform]: Disable interrupt for intel i2c-i801 driver (#16309) (#16457) 2023-09-06 09:49:58 -07:00
apt [Build] Support j2 template for debian sources (#12557) (#13185) 2022-12-30 09:47:33 +08:00
build/versions [ci/build]: Upgrade SONiC package versions (#16316) 2023-09-05 21:54:50 -07:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) (#13296) 2023-01-09 10:28:03 -08:00
build_templates Run db_migrator for non first-time reboots (#16116) (#16520) 2023-09-12 18:40:30 +08:00
dhcp Assign the higher metric value for Ipv6 default route learnt via RA message (#16367) (#16440) 2023-09-05 21:52:38 -07:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-22 04:33:44 +08:00
image_config Fix issue: systemctl daemon-reload would sporadically cause udev handler fail (#15253) (#15959) 2023-08-22 09:54:56 -07:00
initramfs-tools [202205] Implement zram compression for docker in RAM (#15137) 2023-06-02 08:36:18 -07:00
scripts [swss] Chassis db clean up optimization and bug fixes (#16454) (#16541) 2023-09-14 14:07:15 -07:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00