sonic-net / sonic-dbsyncd

Python library for sonic/redis database syncing
Other
6 stars 47 forks source link

[202311][lldp-syncd] Fix unexpected exception in snmp-subagent (#64) #67

Closed ZhaohuiS closed 3 months ago

ZhaohuiS commented 3 months ago

cherry-pick https://github.com/sonic-net/sonic-dbsyncd/pull/64

Separate deleted and changed scearios deleted interfaces, delete their table key changed interfaces if lldp_rem_time_mark is only changed key, just use hset its new value. Don't delete interface table key. If other keys are changed as well, delete interface key and use hmset to set the whole dict into DB, instead of using hset each item one by one. This will avoid interface exists but some of its keys are not added.

ZhaohuiS commented 3 months ago

/azp_run

StormLiangMS commented 3 months ago

/azp run Azure.sonic-dbsyncd

azure-pipelines[bot] commented 3 months ago
Azure Pipelines successfully started running 1 pipeline(s).
ZhaohuiS commented 3 months ago

@yxieca could you please help review and merge this PR? It's missed in 202311.

StormLiangMS commented 3 months ago

/azp run Azure.sonic-dbsyncd

azure-pipelines[bot] commented 3 months ago
Azure Pipelines successfully started running 1 pipeline(s).
ZhaohuiS commented 3 months ago

Close it since https://github.com/sonic-net/sonic-dbsyncd/pull/68 is auto merged.