Aias00 opened a new pull request, #2752:
URL: https://github.com/apache/rocketmq-dashboard/pull/2752

   ## Summary
   - add a database-level foreign key from `rmq_instance.credential_id` to 
`rmq_cloud_credential.id`
   - add a startup migration that upgrades clean existing databases and refuses 
dirty databases with orphaned credential references
   - translate concurrent credential-delete and cloud-instance-create reference 
races to HTTP 409 business errors
   
   ## Verification
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -q 
-Dtest='DemoDataSqlCompatibilityTest,CloudCredentialSchemaMigrationTest,CloudCredentialServiceTest,InstanceServiceTest'
 test`
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -q 
-Dtest='DemoDataSqlCompatibilityTest,CloudCredentialSchemaMigrationTest' test`
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -q test` (1792 tests, 0 
failures, 0 errors, 0 skipped)
   - MySQL 8 Docker smoke: executed `server/src/main/resources/db/schema.sql` 
from scratch and confirmed `fk_instance_cloud_credential` in 
`information_schema.REFERENTIAL_CONSTRAINTS`
   
   Closes #2747
   


-- 
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