123123213weqw opened a new issue, #2494: URL: https://github.com/apache/rocketmq-dashboard/issues/2494
## Problem After the service reads an instance, if another request deletes it, `save()` re-queries, finds no record and inserts by the old ID - resurrecting the deleted instance. Location: `server/src/main/java/org/apache/rocketmq/studio/instance/MybatisPlusInstanceRepository.java`. ## Expected behavior Distinguish insert from updateExisting; the update path only executes `update` and returns 404/409 when the affected-row count is 0. ## Verification Delete the record between the service read and the repository write; assert no insert happens and no success audit is recorded. Note: different entity and code path from the open cloud-credentials issue #2116. -- 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]
