Skip to content

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

Open
pttch wants to merge 1 commit into
sonic-net:masterfrom
pttch:fix_snmp_noblockkey
Open

fixes snmp not to use blocking get_all() after keys()#319
pttch wants to merge 1 commit into
sonic-net:masterfrom
pttch:fix_snmp_noblockkey

Conversation

@pttch

@pttch pttch commented May 7, 2024

Copy link
Copy Markdown

- 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 #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.

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.
@pttch

pttch commented May 24, 2024

Copy link
Copy Markdown
Author

/azpw run

@mssonicbld

Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants