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

Rephrasing the cause of panic occurring when switching branches and its solution #746

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Rephrasing the cause of panic occurring when switching branches and its solution #746

merged 1 commit into from
Sep 14, 2023

Conversation

cyann7
Copy link
Contributor

@cyann7 cyann7 commented Sep 13, 2023

What type of PR is this?

  • Enhancement
  • Displaying
  • Typo
  • Doc Request

Which issue(s) this PR fixes:

issue #728 #727

What this PR does / why we need it:

跟用户解释为何出现panic的问题,以及告诉用户如何解决或者跳过这个问题。

@cyann7
Copy link
Contributor Author

cyann7 commented Sep 13, 2023

@dengn need review
在这里没有提到使用mo_ctl 来构建或者启动MO,因为实际上如果使用mo_ctl 命令会避免这个问题,以下是使用mo_ctl的两种情况。

  1. 在使用mo_ctl deploy 0.8.0 之后再次 mo_ctl deploy 0.7.0 会跳过,不会切换到 0.8.0,则不会发生版本切换。
  2. 使用 mo_ctl deploy 0.8.0 之后再次 mo_ctl deploy 0.7.0 force 强行构建0.7.0 版本,则会重新清除MO_PATH,重新下载构建,这直接删除了mo-data,则也不会出现panic。

更改后的文档:

image

@cyann7 cyann7 changed the title 重新解释切换分支出现panic的问题以及解决方法 Rephrasing the cause of panic occurring when switching branches and its solution Sep 13, 2023
@dengn dengn merged commit 8826d7a into matrixorigin:main Sep 14, 2023
1 check passed
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.

3 participants