[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 <[email protected]>
72d552c to
daf5460
Compare
|
@StormLiangMS this PR is ready to be merged, would you please help? |
vaibhavhd
left a comment
There was a problem hiding this comment.
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 <[email protected]>
5099e74 to
ed56449
Compare
I've added a placeholder for the |
@vaibhavhd kind reminder |
Signed-off-by: vadymhlushko-mlnx <[email protected]>
What I did
Add migration of
FLEX_COUNTER_DELAY_STATUSattribute of config_dbFLEX_COUNTER_TABLEduring theSONiC to SONiC upgrade + fast-rebootfrom older versions201911 -> 202211.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)