Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.0.0 Alpha
    • Fix Version/s: 4.0.0
    • Component/s: Autoscaler
    • Labels:
      None

      Description

      Seems like following current scale down rule is not accurate.

      scaleDown : Boolean() from ((rifReset && (rifPredictedValue < rifAverageLimit * 0.1)) || (mcReset && (mcPredictedValue < mcAverageLimit * 0.1)) || (laReset && (laPredictedValue < laAverageLimit * 0.1)))

      Note the 'OR' conditions. If you read this, it'll mean that system would scale down if any of the factors resulted to drop down than its threshold, despite higher requests in one of the factors.

      IMO we should use 'AND's instead of 'OR's.

      Proposed fix:

      scaleDown : Boolean() from ((rifReset && (rifPredictedValue < rifAverageLimit * 0.1)) && (mcReset && (mcPredictedValue < mcAverageLimit * 0.1)) && (laReset && (laPredictedValue < laAverageLimit * 0.1)))

        Activity

        Hide
        nirmal Nirmal Fernando added a comment -

        The fix has been committed in revision 8551d02cf23e6a27a78cdb5076b47538d903c731

        Show
        nirmal Nirmal Fernando added a comment - The fix has been committed in revision 8551d02cf23e6a27a78cdb5076b47538d903c731

          People

          • Assignee:
            nirmal Nirmal Fernando
            Reporter:
            nirmal Nirmal Fernando
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development