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() #319

Open pttch opened 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 sonic-net#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.

pttch commented 5 months ago

/azpw run

mssonicbld commented 5 months ago

/AzurePipelines run

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