[
https://issues.apache.org/jira/browse/SCB-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liubao resolved SCB-503.
------------------------
Resolution: Fixed
Fix Version/s: java-chassis-1.0.0-m2
> 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
> Priority: Major
> Fix For: java-chassis-1.0.0-m2
>
>
> 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)