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

   ## Problem
   
   Update ignores the affected-row count of `updateById` and re-queries, 
passing the result straight to `toVO`; if the row was deleted in the meantime 
this triggers an NPE/500. Delete likewise ignores the final affected-row count, 
so two concurrent deletes can both report success.
   
   Location: 
`server/src/main/java/org/apache/rocketmq/studio/cluster/nameserver/NameserverRegistryService.java`.
   
   ## Expected behavior
   
   Check the affected-row count for update and delete; return 404 when the row 
has disappeared instead of converting a null object.
   
   ## Verification
   
   Simulate a record deleted after the read, and two concurrent deletes.
   


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