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

   ## Problem
   
   `InstanceService.deleteInstance` always invokes both `countTopics` and 
`countGroups` before deleting an instance. 
`TencentInstanceProvider.countGroups` intentionally throws 
`UnsupportedOperationException` because that cloud API is not implemented. 
Consequently, deleting an otherwise empty Tencent instance bubbles the 
exception into a generic HTTP 500.
   
   ## Expected behavior
   
   - Never delete an instance when Studio cannot verify that managed resources 
are absent.
   - Convert unsupported resource-count capabilities into a structured, 
actionable `501` response instead of an unhandled 500.
   - Keep Apache and fully supported cloud provider deletion behavior unchanged.
   - Cover the Tencent unsupported-count path with a service-level regression 
test.
   
   ## Scope
   
   Backend instance lifecycle validation only.
   
   ## Track
   
   Track 1 / Studio multi-cloud instance management.


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