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

[202405][FC] Put default counters in init_cfg.json #20555

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

stepanblyschak
Copy link
Collaborator

Why I did it

Simplify approach to delaying counters on warm boot and fast boot. Removed FLEX_COUNTER_DELAY_STATUS_FIELD and instead postpone all FC processing to happen after apply view to not delay data plane configuration.

The CONFIG_DB should not be updated in runtime anymore for counters to be delayed.

To address #20302.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Put FC into init_cfg.json

How to verify it

Boot the system, verify counters are enabled.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
@bingwang-ms
Copy link
Contributor

/azp run Azure.sonic-buildimage

@bingwang-ms bingwang-ms enabled auto-merge (squash) November 1, 2024 17:46
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bingwang-ms bingwang-ms merged commit dbf1baa into sonic-net:202405 Nov 13, 2024
19 checks passed
@bingwang-ms
Copy link
Contributor

@stepanblyschak Can you check the issue? Is ACL counter missed from this change?

@stepanblyschak
Copy link
Collaborator Author

@bingwang-ms This change should come together with #20554 and sonic-net/sonic-swss#3326

@bingwang-ms
Copy link
Contributor

@stepanblyschak Can you help confirm if the issue will be addressed if #20554 is merged? Otherwise I tend to revert this PR.
Since sonic-net/sonic-swss#3326 is still in review, I don't think it will be merged soon.

@stepanblyschak
Copy link
Collaborator Author

@bingwang-ms We're running 202405 with all FC changes together in regression and observe not issues.
I am ok with reverting until master PRs are in review stage.

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.

3 participants