Skip to content

[docs]feature: add H2 database (testing-only) guidance#3921

Open
mohit07dec wants to merge 10 commits intoapache:masterfrom
mohit07dec:a-feature-branch
Open

[docs]feature: add H2 database (testing-only) guidance#3921
mohit07dec wants to merge 10 commits intoapache:masterfrom
mohit07dec:a-feature-branch

Conversation

@mohit07dec
Copy link

What's changed?

  • Added a new documentation page explaining HertzBeat’s default embedded H2 usage and clearly stating it is for testing/sandbox only (not recommended for production).
  • Documented a key security risk: if an attacker can execute SQL against H2, features like CREATE ALIAS may allow arbitrary Java code execution.
  • Linked to official H2 security guidance and pointed users to the existing MySQL/PostgreSQL migration docs for production deployments.
  • Updated docs sidebars so the H2 page appears under Quickstart → change-db (current docs + v1.6.x), including zh-cn translations.

Checklist

  • I have read the Contributing Guide (docs changes only).
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed. (Not applicable: documentation-only change.)

Add or update API

  • I have added the necessary e2e tests and all cases have passed. (Not applicable: docs-only change; no API behavior changes.)

@github-actions github-actions bot added the doc Improvements or additions to documentation label Dec 20, 2025
@tomsun28
Copy link
Member

hi please help fix the doc ci error

@mohit07dec
Copy link
Author

Hi! Could someone help me fix the CI failures? I'm not sure what's causing them. Thanks! @tomsun28 @Duansg @Aias00

@tomsun28
Copy link
Member

tomsun28 commented Mar 7, 2026

hi @mohit07dec seem there is a confilct at home/versioned_sidebars/version-v1.6.x-sidebars.json , please help to fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants