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

Remind users who are using H2 database in console #5047

Closed
JohnNiang opened this issue Dec 14, 2023 · 2 comments · Fixed by #5072
Closed

Remind users who are using H2 database in console #5047

JohnNiang opened this issue Dec 14, 2023 · 2 comments · Fixed by #5072
Assignees
Labels
area/console Issues or PRs related to the Halo Console kind/improvement Categorizes issue or PR as related to a improvement.
Milestone

Comments

@JohnNiang
Copy link
Member

Your current Halo version

2.12.0-SNAPSHOT

Describe this feature

Too many people who are using H2 database in production environment encountered an error Caused by: org.h2.mvstore.MVStoreException: File is corrupted, which is annoying, even thought we pointed it out in the official documentation.

H2 database is very convinient for users who want to have a try or develop, but it's not recommented to use it in production environment. So I request to remind users who are using H2 database in console to be aware of dangers of using H2 database.

Additional information

/area console
/kind improvement

@f2c-ci-robot f2c-ci-robot bot added area/console Issues or PRs related to the Halo Console kind/improvement Categorizes issue or PR as related to a improvement. labels Dec 14, 2023
@ruibaby
Copy link
Member

ruibaby commented Dec 18, 2023

/assign

@ruibaby
Copy link
Member

ruibaby commented Dec 18, 2023

image

I will add an alert here.

@ruibaby ruibaby added this to the 2.12.x milestone Dec 18, 2023
f2c-ci-robot bot pushed a commit that referenced this issue Dec 20, 2023
#### What type of PR is this?

/area console
/kind feature
/milestone 2.12.x

#### What this PR does / why we need it:

在概览页面添加使用 H2 数据库的警告。

<img width="1138" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/d2ecee4a-c7f4-4b97-a721-11a697606579">

#### Which issue(s) this PR fixes:

Fixes #5047

#### Special notes for your reviewer:

需要测试使用 H2 数据库运行 Halo,进入概览页面,观察是否有提示。

#### Does this PR introduce a user-facing change?

```release-note
在 Console 的概览页面添加使用 H2 数据库的警告。
```
@JohnNiang JohnNiang modified the milestones: 2.12.x, 2.12.0 Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/console Issues or PRs related to the Halo Console kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants