yyqdbngt opened a new issue, #2195: URL: https://github.com/apache/rocketmq-dashboard/issues/2195
## Problem `TencentClientFactory` creates cached SDK clients with `ConcurrentHashMap.computeIfAbsent`, while credential updates invalidate cached entries by scanning the map keys. If invalidation runs while a client is still being created, the invalidation can finish before the new mapping is visible. The client built from the previous credential is then inserted after invalidation and remains cached for later requests. ## Expected behavior Once credential invalidation returns, an in-flight cache miss must not be able to install a client created before that invalidation. Existing cache hits should remain inexpensive. ## Scope Coordinate cache-miss creation with credential invalidation and add a deterministic concurrency regression 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
