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

QoS queue counters reporting negative values after config reload. #679

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Prasanth-KV
Copy link

The counter cache file is not removed while config reload but COUNTER_DB gets cleaned up.·
This was resulting in counters in COUNTER_DB lesser than that in cache file resulting into -ve counter display.

Signed-off-by: Prasanth Kunjum Veettil prasanth.kunjumveettil@broadcom.com

- What I did
Fix for QoS counters reporting negative values after config reload
- How I did it
The counter cache file is not removed while config reload but COUNTER_DB gets cleaned up.·
This was resulting in counters in COUNTER_DB lesser than that in cache file resulting into -ve counter display.
- How to verify it
Start traffic
show queue counter
config reload
wait for the system to come up.
show queue counter
- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

-->

The counter cache file is not removed while config reload but COUNTER_DB gets cleaned up.·
This was resulting in counters in COUNTER_DB lesser than that in cache file resulting into -ve counter display.

Signed-off-by: Prasanth Kunjum Veettil <prasanth.kunjumveettil@broadcom.com>
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