Skip to content

[fast-reboot] Fix delaying counters: apply config to running CONFIG_DB#89

Closed
stepanblyschak wants to merge 1 commit intomasterfrom
delay-counters-fix
Closed

[fast-reboot] Fix delaying counters: apply config to running CONFIG_DB#89
stepanblyschak wants to merge 1 commit intomasterfrom
delay-counters-fix

Conversation

@stepanblyschak
Copy link
Owner

@stepanblyschak stepanblyschak commented Jul 24, 2024

What I did

Delay flag was set to config_db.json, however, now fast reboot uses running config_db DB dump instead of config_db.json, therefore the delay wasn't set to the right place and didn't have any effect.

Otherwise, orchagent is busy for a long time queries objects before sending APPLY_VIEW.

How I did it

Set delay flag to running config_db.

How to verify it

Do fast-reboot, check that delay flag is set, orchagent does not init counters yet, after some time, delay flag is unset.

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)

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
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.

2 participants