RockteMQ-AI commented on issue #1972:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/1972#issuecomment-5262503288

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the deployment configuration.
   
   **Root Cause:** The `deploy.sh` script does not set 
`SPRING_PROFILES_ACTIVE=prod` or pass datasource environment variables when 
starting the remote container. The application defaults to the `dev` profile 
with an in-memory H2 database, causing all control-plane metadata to be lost on 
container restart.
   
   **Impact:** Remote deployments silently use ephemeral storage, making them 
unsuitable for production use. Operators may believe deployment succeeded while 
the instance cannot persist data.
   
   **Severity:** High — data loss risk in production deployments
   
   **Proposed Fix Assessment:** The proposed fix is appropriate:
   - Require datasource configuration for remote deployments
   - Pass `SPRING_PROFILES_ACTIVE=prod` and datasource variables to the 
container
   - Forward `STUDIO_ROCKETMQ_NAMESRV_ADDR`
   - Add validation and tests
   
   An automated fix proposal can be generated. Reply `/approve` to proceed with 
PR generation.
   
   ---
   *Automated evaluation by github-manager-bot*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to