-
Notifications
You must be signed in to change notification settings - Fork 661
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
[202211][db_migrator] Add migration of FLEX_COUNTER_DELAY_STATUS during 1911->2211 upgrade + fast-reboot. Add UT. #2838
Conversation
@vaibhavhd would you please help to review? |
5f20cff
to
48ce1ad
Compare
48ce1ad
to
e3bbb92
Compare
Why is this change not needed on master? |
@vadymhlushko-mlnx please resolve the checker issue so we can proceed. |
3eb54d4
to
8e423cc
Compare
…ng 1911->2211 upgrade + fast-reboot. Add UT. Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
72d552c
to
daf5460
Compare
@StormLiangMS this PR is ready to be merged, would you please help? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version on 202211 and 202205 is same, this needs to be corrected. Blocking merge of this change until that.
Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
5099e74
to
ed56449
Compare
I've added a placeholder for the |
@vaibhavhd kind reminder |
Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
What I did
Add migration of
FLEX_COUNTER_DELAY_STATUS
attribute of config_dbFLEX_COUNTER_TABLE
during theSONiC to SONiC upgrade + fast-reboot
from older versions201911 -> 202211
.This change is required for the
fast-reboot
procedure because without it the counters will be created during the init flow which will waste a lot of resources and cause data plane degradation of more than 30 seconds.How I did it
Modify the
db_migrator.py
.How to verify it
Add UT.
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)