Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

pttch
Copy link

@pttch pttch commented May 6, 2024

- 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.
Copy link

CLA Missing ID CLA Not Signed

@pttch pttch closed this May 7, 2024
@pttch
Copy link
Author

pttch commented May 7, 2024

Modify to use correct email for commit

@pttch pttch deleted the snmp_noblockkey branch May 7, 2024 01:37
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.

1 participant