zrlw edited a comment on issue #8675: URL: https://github.com/apache/dubbo/issues/8675#issuecomment-914280700
看了一下3.0的RegistryDirectory,isAvailable和refreshInvoker也存在同样的问题啊,local reference不该这么用的吧, 两个方法都去local reference引用urlInvokerMap这个集合,main线程执行isAvailable方法检查local reference的集合是否为空、不为空则进行遍历的时候,main-eventThread线程执行refreshInvoker对local reference的集合里面的entry直接进行remove,合适么? -- 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: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org