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

ovn: fix corrupted database file on start #3112

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Aug 4, 2023

What type of this PR

Examples of user facing changes:

  • Features
  • Bug fixes
  • Docs
  • Tests

Which issue(s) this PR fixes:

Fixes #(issue-number)

root@kube-ovn-control-plane:~# ovsdb-tool check-cluster ovnnb_db.db
ovsdb-tool: syntax error: ovnnb_db.db: parse error at offset 65335 in header line ""
root@kube-ovn-control-plane:~# stat -c %s ovnnb_db.db
65419
root@kube-ovn-control-plane:~#
root@kube-ovn-control-plane:~# ovsdb-tool fix-cluster ovnnb_db.db
ovsdb-tool: syntax error: ovnnb_db.db: parse error at offset 65335 in header line ""
root@kube-ovn-control-plane:~# stat -c %s ovnnb_db.db
65335
root@kube-ovn-control-plane:~# ovsdb-tool check-cluster ovnnb_db.db
root@kube-ovn-control-plane:~#

WHAT

copilot:summary

copilot:poem

HOW

copilot:walkthrough

@zhangzujian zhangzujian marked this pull request as ready for review August 4, 2023 03:12
@zhangzujian zhangzujian merged commit cd1202c into kubeovn:master Aug 7, 2023
59 checks passed
@zhangzujian zhangzujian deleted the fix-db branch August 7, 2023 02:54
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Aug 7, 2023
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