You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/01/01 13:50:28 UTC

[GitHub] wujimin commented on a change in pull request #475: [JAV-598] Fix invocation failure count in session stickiness rule

wujimin commented on a change in pull request #475: [JAV-598] Fix invocation failure count in session stickiness rule
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/475#discussion_r159156265
 
 

 ##########
 File path: handlers/handler-loadbalance/src/main/java/io/servicecomb/loadbalance/CseServer.java
 ##########
 @@ -44,6 +50,18 @@
    */
   private AtomicInteger continuousFailureCount = new AtomicInteger(0);
 
+  /**
+   * Count the total invocations in the last 10 sec.
+   */
+  private RollingWindowBucketedCounter totalInvocationCount =
 
 Review comment:
   each time instance list changed, will create new CseServer instance
   so cseServer should be stateless

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services