You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/07 02:24:09 UTC

[GitHub] [dubbo] haoyann edited a comment on issue #8654: [3.0] GenericService can't created multiple times

haoyann edited a comment on issue #8654:
URL: https://github.com/apache/dubbo/issues/8654#issuecomment-913936882


   现在有两种方法可以暂时规避这个问题:
   1. 设置 sticky ` referenceConfig.setSticky(false)`  属性,与缓存中保持一致
   2. 允许有重复的存在 ReferenceConfig 存在,配置 `dubbo.config.ignore-duplicated-interface = true`
   
   这两种方法都会将配置一直存放在缓存中,是否可以考虑在 `ReferenceConfig#destroy` 的时候,将 ReferenceConfig 从 ConfigManager 中移除。


-- 
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-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org