You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (JIRA)" <ji...@apache.org> on 2018/04/18 08:26:00 UTC

[jira] [Created] (SCB-503) When using WeighedResponseTimeRule, there are some initialize and stateless access problems

liubao created SCB-503:
--------------------------

             Summary: When using WeighedResponseTimeRule, there are some initialize and stateless access problems
                 Key: SCB-503
                 URL: https://issues.apache.org/jira/browse/SCB-503
             Project: Apache ServiceComb
          Issue Type: Bug
            Reporter: liubao
            Assignee: liubao


1. When creating WeighedResponseTimeRule, it will call loadbalance get all service lists. And when running, it also starts a deamon to maintain states and also call  loadbalance get all service lists. So any state access to 'invocation' will cause problem. 

Any filter rules will avoid to use invocation for stateful filters. 

 

2. when change WeighedResponseTimeRule to RoundRobin, it's deamon task is not destroyed and may cause resource leak if change laodbalance rule from to this frequently. 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)