You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/18 14:28:21 UTC

[I] [Studio][Bug] Return conflict for concurrent Studio user creation [rocketmq-dashboard]

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

   ## Problem\n pre-checks a username, then inserts it. Concurrent requests can both pass the pre-check; the loser reaches the unique database constraint and returns 500 instead of 409.\n\n## Scope\nTranslate the duplicate-key race to the existing conflict response and add a concurrency-focused service/controller test.


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Return conflict for concurrent Studio user creation [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2349:
URL: https://github.com/apache/rocketmq-dashboard/issues/2349#issuecomment-5330166472

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   Valid race condition. The TOCTOU pattern (pre-check then insert) allows concurrent requests to both pass the username check, with the loser hitting the unique constraint and returning 500 instead of 409. Translating the duplicate-key exception to a conflict response is the correct fix.
   
   **Severity:** medium — affects API correctness under concurrent load.
   **Impact:** User creation endpoint reliability.
   
   ---
   *Automated evaluation by @RockteMQ-AI*


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Return conflict for concurrent Studio user creation [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2349: [Studio][Bug] Return conflict for concurrent Studio user creation
URL: https://github.com/apache/rocketmq-dashboard/issues/2349


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Return conflict for concurrent Studio user creation [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2349:
URL: https://github.com/apache/rocketmq-dashboard/issues/2349#issuecomment-5418733100

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org