-
Notifications
You must be signed in to change notification settings - Fork 664
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
[202111][db_migrator] Add migration of FLEX_COUNTER_DELAY_STATUS during 1911->2111 upgrade + fast-reboot. Add UT. #2869
Conversation
@vadymhlushko-mlnx pls check failures |
031fcde
to
4fd2e3c
Compare
4fd2e3c
to
d4ade57
Compare
the 202111 branch CI is currently broken. |
I just noticed that 202012 and 202111 are creating same versions w/ different migration logic. I think the deviation begun starting This almost sounds like an issue that was earlier seen for 202211 branch: https://github.com/sonic-net/sonic-utilities/pull/2470/files Unfortuantely, like before, we did not lock new version for 202111 branch. This is not an issue just w/ this PR, rather this is a missed step in new branch creation. I think we need to lock a version everytime a feature branch is created. This needs further discussion and agreement w/ branch owners. |
…ng 1911->master upgrade + fast-reboot. Add UT. Signed-off-by: vadymhlushko-mlnx <[email protected]>
c389c76
to
62534a1
Compare
Could you please tell me with whom I could talk about this versioning issue? |
Signed-off-by: vadymhlushko-mlnx <[email protected]>
3955c68
to
fa3b4ae
Compare
@vaibhavhd kind reminder |
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 -> 202111
.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)