StephenFaust commented on issue #6568: URL: https://github.com/apache/incubator-seata/issues/6568#issuecomment-2128667847
> > > In my opinion, this code is just to avoid duplicate proxies. @wangliang181230 , @slievrly , @xingfudeshi , please help to answer this question. > > > > > > You already answered the question. > > 这么看来,我们应该缓存bean,而不是beanname,否则多例情况下将不会进行代理 In this case, we should cache the bean instead of the bean name. Otherwise, if there are multiple instances, no proxy will be created. 如果直接缓存bean,那是否失去了多例bean的意义,所以,我只是想知道,这个proxyed_set 你们在设计时,是考虑到了重复代理的情况,我想知道,在哪种场景下会出现重复代理? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
