Skip to content

[database] save configuration after DB migration#3143

Merged
yxieca merged 1 commit intosonic-net:masterfrom
yxieca:save_db
Jul 16, 2019
Merged

[database] save configuration after DB migration#3143
yxieca merged 1 commit intosonic-net:masterfrom
yxieca:save_db

Conversation

@yxieca
Copy link
Copy Markdown
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 ying.xie@microsoft.com

- 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 <ying.xie@microsoft.com>
@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 <ying.xie@microsoft.com>
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