Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-503

When using WeighedResponseTimeRule, there are some initialize and stateless access problems

    XMLWordPrintableJSON

Details

    Description

      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. 

       

      Attachments

        Issue Links

          Activity

            People

              liubao68 liubao
              liubao68 liubao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: