Skip to content

Conversation

@bhaveshdell
Copy link

What I did

These changes are to persist EventDB on a cold boot.
This is part of the Event and Alarm Framework feature.
For more information HLD - sonic-net/SONiC/pull/761

How I did it

Save eventDB in /host/coldboot/dump.rdb from reboot script.
The backup "/host/coldboot/dump.rdb" will be copied by database pre-start action to database docker during system start.

How to verify it

Verify event records are persisted on reboot. Dump Eventdb after reboot to verify persistence.

CoRequisite PRs:
sonic-net/sonic-buildimage#7813
sonic-net/sonic-mgmt-common#48
sonic-net/sonic-mgmt-framework#85
sonic-net/sonic-swss-common#490

@ghost
Copy link

ghost commented Jun 26, 2021

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

❌ bhaveshdell sign now
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

1 participant