[
https://issues.apache.org/jira/browse/SCB-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442131#comment-16442131
]
ASF GitHub Bot commented on SCB-503:
------------------------------------
wujimin commented on issue #657: [SCB-503]Fix stateful access problem and
resource leak issue related to WeighedResponseTimeRule
URL:
https://github.com/apache/incubator-servicecomb-java-chassis/pull/657#issuecomment-382310371
paste compile warning check image please.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
>
> 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)