Aias00 commented on PR #2290:
URL: 
https://github.com/apache/rocketmq-dashboard/pull/2290#issuecomment-5327849433

   @lizhimins Reworked this against the current `rocketmq-studio` base. The 
settings row now has a stable `settings_key=general` protected by 
`uk_settings_key`; concurrent creation can therefore reach the 
`DuplicateKeyException` recovery path. The fresh schema and an idempotent 
existing-volume migration are included; the migration preserves the 
historically selected lowest-id row before creating the unique key. Added a 
regression test for the duplicate-key recovery update. Verified with 
`JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn 
-Dtest=MybatisPlusSettingsRepositoryTest test` (8 tests passed).


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