[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_STATUSattribute of config_dbFLEX_COUNTER_TABLEduring theSONiC to SONiC upgrade + fast-rebootfrom older versions201911 -> 202111.This change is required for the
fast-rebootprocedure 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)