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

Enable watermark stats polling by default #2603

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

wendani
Copy link
Contributor

@wendani wendani commented Feb 25, 2019

Signed-off-by: Wenda Ni wenni@microsoft.com

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Wenda Ni <wenni@microsoft.com>
@lguohan lguohan merged commit 3bc29d8 into sonic-net:master Mar 22, 2019
@@ -14,6 +14,8 @@ def enable_counters():
enable_counter_group(db, 'PORT')
enable_counter_group(db, 'QUEUE')
enable_counter_group(db, 'PFCWD')
enable_counter_group(db, 'PG_WATERMARK')
enable_counter_group(db, 'QUEUE_WATERMARK')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the corresponding FLEX_COUNTER_GROUP_TABLE is enabled, CONFIG_DB will have the entry flow into it even if the saved config may not have the entry enlisted. In the warm-reboot case, Orch::bake() can detect the entry, and will populate the entry into m_toSync. The counter poll postponement will thus lose its purpose in the warm-reboot case. @pavel-shirshov

yxieca pushed a commit that referenced this pull request May 4, 2023
e86e275bf [201811] add bgpraw to show run all (#2603)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants