btlqql opened a new issue, #2486:
URL: https://github.com/apache/rocketmq-dashboard/issues/2486

   ## Problem
   
   Registry names are not trimmed and `rmq_nameserver.name` has no unique 
index. `prod`, `prod ` and two concurrent `prod` creations can all be saved, 
producing duplicate NameServer entries that differ only in whitespace.
   
   Locations: 
`server/src/main/java/org/apache/rocketmq/studio/cluster/nameserver/NameserverRegistryService.java`
 (create path), `server/src/main/resources/db/schema.sql` (rmq_nameserver).
   
   ## Expected behavior
   
   Names are normalized at the service boundary; `rmq_nameserver.name` gets a 
unique index with an idempotent upgrade script; duplicate-key conflicts are 
mapped to 409.
   
   ## Verification
   
   Cover whitespace-padded names, concurrent duplicate creation, and 
update-to-existing-name.
   


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