Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[database] save configuration after DB migration #3143

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

yxieca
Copy link
Contributor

@yxieca yxieca commented Jul 11, 2019

- What I did

  • Make sure that migrated DB contents persisted for next boot
  • Make sure that db saved after warm reboot.

Signed-off-by: Ying Xie [email protected]

- How to verify it
Warm reboot into an image with the fix. Check that /etc/sonic/config_db.json exists after warm reboot. Then cold reboot the device to make sure that the device come up properly.

- Make sure that migrated DB contents persisted for next boot
- Make sure that db saved after warm reboot.

Signed-off-by: Ying Xie <[email protected]>
@yxieca yxieca merged commit b5a4527 into sonic-net:master Jul 16, 2019
@yxieca yxieca deleted the save_db branch July 16, 2019 03:21
yxieca added a commit that referenced this pull request Jul 16, 2019
- Make sure that migrated DB contents persisted for next boot
- Make sure that db saved after warm reboot.

Signed-off-by: Ying Xie <[email protected]>
yxieca added a commit that referenced this pull request Jul 22, 2019
yxieca added a commit that referenced this pull request Jul 22, 2019
yxieca added a commit that referenced this pull request Jul 23, 2019
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.

2 participants