Skip to content

feat(deploy): harden Studio persistence and Compose bootstrap - #980

Closed
Aias00 wants to merge 4 commits into
apache:rocketmq-studiofrom
Aias00:fix/studio-apply-mysql-upgrades
Closed

feat(deploy): harden Studio persistence and Compose bootstrap#980
Aias00 wants to merge 4 commits into
apache:rocketmq-studiofrom
Aias00:fix/studio-apply-mysql-upgrades

Conversation

@Aias00

@Aias00 Aias00 commented Aug 4, 2026

Copy link
Copy Markdown

Summary

Consolidates #978, #957, and #991 into Studio deployment and persistence setup.

  • Keep the default MySQL schema DDL-only and prevent demo records from being seeded in production.
  • Run idempotent MySQL schema upgrades through a Compose migration job before backend startup.
  • Add PostgreSQL 16+ persistence support, equivalent schema, integration coverage, and deployment documentation.
  • Document the required RocketMQ Compose startup and network readiness check before Studio starts.

Verification

  • JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -q -DskipTests compile
  • docker compose -f deploy/rocketmq/docker-compose.yml config
  • docker compose -f deploy/docker-compose.yml config
  • git diff --check origin/rocketmq-studio...HEAD
  • PostgreSqlSettingsRepositoryIntegrationTest remains blocked locally because the Docker Java client exposes API 1.32 while the Docker daemon requires API 1.40.

Closes #973
Closes #974
Closes #956
Closes #988

Copilot AI lite review requested due to automatic review settings August 4, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Aias00 Aias00 changed the title fix: apply MySQL schema upgrades on startup feat(persistence): production-safe MySQL bootstrap and PostgreSQL profile Aug 5, 2026
@Aias00 Aias00 changed the title feat(persistence): production-safe MySQL bootstrap and PostgreSQL profile feat(deploy): harden Studio persistence and Compose bootstrap Aug 5, 2026
@lizhimins

Copy link
Copy Markdown
Member

Closing this one after review: we decided not to introduce a PostgreSQL persistence branch — the backend stays MySQL-only for broader applicability. The compose migration ideas may be revisited separately on top of the MySQL schema. Thanks for the effort!

评审后决定不引入 PostgreSQL 持久化分支,后端统一保持 MySQL 以更具普适性。Compose 迁移相关想法后续可在 MySQL schema 基础上单独讨论。感谢贡献!

@lizhimins lizhimins closed this Aug 5, 2026
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