huxiaozheng opened a new issue, #4642: URL: https://github.com/apache/servicecomb-java-chassis/issues/4642
业务最近拓展了handler,并在handler里将一个hashmap存在invocation里。然后将此handler放到了consumer下。我们压测A微服务调B微服务,我们发现,A微服务在上述新增handler里存入hashmap后,在clientFilter里偶现取不到这个hashmap里的某些value。我们怀疑这个hashmap被其他线程改了,将hashmap改为concurrentHashMap后,问题解决。请问下,并发场景下,这个handler是被所有线程持有共享,还是每个线程单独持有的? -- 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]
