sonic-net / sonic-sairedis

SAI object interface to Redis database, as used in the SONiC project
Other
56 stars 259 forks source link

Use temp view also in fast-reboot #1401

Open arfeigin opened 1 month ago

arfeigin commented 1 month ago

syncd_init_common.sh is checking fast-reboot by reading /proc/cmdline. However, /proc/cmdline will not change after config reload. So, consider a case like fast-reboot -> config reload. In the config reload process, syncd_init_common.sh will also treat it as fast-reboot and probably enter wrong logic.

arfeigin commented 1 month ago

@kcudnik Can you please help reviewing this PR?

arfeigin commented 1 month ago

@vaibhavhd Can you please reviewing this PR?

Junchao-Mellanox commented 3 weeks ago

Hi @vaibhavhd , could you please help review this?