Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-609

Decrement In-Flight Request Count On Fault Requests

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Load Balancer
    • Labels:
      None

      Description

      In commit revision 7d8a8b3cdfb112affc230c6716d71a24e0a35c0a a modification was done to introduce a sliding window functionality in load balancer statistics collector. IMO the design of this fix is not correct.

      As found this modification has been done to reduce the in-flight request count if a message was timed out or raised a fault. Ideally this should be handled in the fault handler.

        Activity

        Hide
        imesh Imesh Gunaratne added a comment -

        The fix was verified and it is working as expected.

        Show
        imesh Imesh Gunaratne added a comment - The fix was verified and it is working as expected.
        Hide
        imesh Imesh Gunaratne added a comment -

        Currently doing flow tests to verify autoscaling functionality.

        Show
        imesh Imesh Gunaratne added a comment - Currently doing flow tests to verify autoscaling functionality.
        Hide
        imesh Imesh Gunaratne added a comment -
        • Removed sliding window logic implemented in LoadBalancerStatisticsCollector.
        • Fixed in-flight request count management logic on fault requests.
        • Added endpoint-timeout configuration parameter to loadbalancer.conf.
        • Changes committed with commit revision: 22662cc1fb5a5e36379f96581cf7d98c01daf4db.
        Show
        imesh Imesh Gunaratne added a comment - Removed sliding window logic implemented in LoadBalancerStatisticsCollector. Fixed in-flight request count management logic on fault requests. Added endpoint-timeout configuration parameter to loadbalancer.conf. Changes committed with commit revision: 22662cc1fb5a5e36379f96581cf7d98c01daf4db.

          People

          • Assignee:
            imesh Imesh Gunaratne
            Reporter:
            imesh@apache.org Imesh Gunaratne
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development