Skip to content

Deprecate NonRepeaters #519

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

Merged
merged 1 commit into from
Jul 16, 2025
Merged

Conversation

TimRots
Copy link
Member

@TimRots TimRots commented Jul 15, 2025

Per RFC 1905 4.2.3 (GetBulkRequest-PDU), non-repeaters is a per-request hint, not a global config value. In all internal usage (e.g. walk.go), it was either 0 or detrimental, causing BulkWalk to degrade into Walk behavior.

To maintain API stability, the field is kept but marked as deprecated and ignored.

fixes #518

Reported-by: Daniel Lepage daniel.lepage@datadoghq.com

Per RFC 1905 4.2.3 (GetBulkRequest-PDU), non-repeaters is a per-request hint,
not a global config value. In all internal usage (e.g. walk.go), it was either 0
or detrimental, causing BulkWalk to degrade into Walk behavior.

To maintain API stability, the field is kept but marked as deprecated and ignored.

fixes gosnmp#518

Reported-by: Daniel Lepage <daniel.lepage@datadoghq.com>
Signed-off-by: Tim Rots <tim.rots@protonmail.ch>
@TimRots TimRots requested a review from SuperQ July 15, 2025 21:55
@TimRots
Copy link
Member Author

TimRots commented Jul 15, 2025

Hi @SuperQ; I closed stale #466 and created this follow-up PR as it would still add value to have the issue resolved.

@TimRots TimRots merged commit 9d44789 into gosnmp:master Jul 16, 2025
13 checks passed
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.

Deprecate NonRepeaters
2 participants