Skip to content

Warm reboot: Extract the addToSync() function from Consumer::execute(), and new Or…#546

Closed
jipanyang wants to merge 3 commits intosonic-net:masterfrom
jipanyang:warm_reboot_collab
Closed

Warm reboot: Extract the addToSync() function from Consumer::execute(), and new Or…#546
jipanyang wants to merge 3 commits intosonic-net:masterfrom
jipanyang:warm_reboot_collab

Conversation

@jipanyang
Copy link
Copy Markdown
Contributor

…ch::addExistingData()

Signed-off-by: Jipan Yang jipan.yang@alibaba-inc.com

What I did
Add support to explicitly read existing data from a table and add them to the m_toSync of consumer in this Orch

Why I did it
Needed for state restore of orchagent during warm restart.

How I verified it
VS testing.

Details if related

…ch::addExistingData()

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
@@ -0,0 +1,495 @@
#include <fstream>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this file? orch.cpp.orig?

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
@jipanyang jipanyang changed the title Extract the addToSync() function from Consumer::execute(), and new Or… Warm reboot: Extract the addToSync() function from Consumer::execute(), and new Or… Aug 1, 2018
@jipanyang
Copy link
Copy Markdown
Contributor Author

Most of the changes have been covered in #551, the remaining part will be incorporated to #554.

Close it for now.

@jipanyang jipanyang closed this Aug 8, 2018
@jipanyang jipanyang deleted the warm_reboot_collab branch February 9, 2019 02:32
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…onic-net#546)

* [config/mlnx.py]
Prompt the risk of excessive consumption of disk space when user intends to turn on the sdk sniffer.
The SDK sniffer is a diagnosis feature, introduced with a view to recording the all the operations to SDK into the sniffer file which the low level team can replay and investigate. Only the sniffer file contains all the operations from SWSS restart does it help. To handle it in a way like log-rotate can hurt its integrity since the operations can be lost during rotating and to address this requires big effort.
So we just add a promot of that risk for now.

* [config/mlnx.py] adjust prompt.
adjust prompt in order to make it more clear.

* [config/mlnx.py] adjust prompt.
adjust prompt in order to make it more clear.
(recommit this in order to trigger vstest of the sonic-utilities and check whether it can pass)
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
… run vs pytests) (sonic-net#546)

Signed-off-by: Akhilesh Samineni <akhilesh.samineni@broadcom.com>
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants