sonic-net / sonic-snmpagent

A net-snmpd agentx subagent for SONiC
Other
15 stars 113 forks source link

fixes snmp not to use blocking get_all() after keys() #318

Closed pttch closed 6 months ago

pttch commented 6 months ago

- What I did In a dynamic environment, it is possible that some of the keys may disappear between invoking keys() and get_all(). Prevent unnecessary timeout of blocking get_all(). Add more snmp no blocking fix for https://github.com/sonic-net/sonic-snmpagent/pull/255

- How I did it Modify the blocking mode from True to False

- How to verify it Use server to send with 1000 requests/second. Keep test for weekend and it do not happen.

- Description for the changelog Prevent unnecessary timeout of blocking get_all(). Add more snmp no blocking fix.

linux-foundation-easycla[bot] commented 6 months ago

CLA Missing ID CLA Not Signed

pttch commented 6 months ago

Modify to use correct email for commit