Nick-The-Uncharted commented on issue #2534: URL: https://github.com/apache/servicecomb-java-chassis/issues/2534#issuecomment-908841450
我在复现过程中发现这个难以复现,然后仔细看了一下当时的日志,发现是一个并发问题。 org.apache.servicecomb.registry.consumer.MicroserviceManager#getOrCreateMicroserviceVersions 这里使用的lock同步 但是 org.apache.servicecomb.registry.RegistrationManager#registerMicroserviceMapping使用的computeIfAbsent同步 两者同步机制不同。我尝试复现一下 但是这个就比较困难了。 -- 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]
