Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add under utilization related RCAs and decider #484

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ktkrg
Copy link
Contributor

@ktkrg ktkrg commented Oct 21, 2020

Fixes #:

Description of changes:
Adds under utilization related RCAs and relevant decider and policy changes.

Tests:
UTs incoming.

If new tests are added, how long do the new ones take to complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

public ResourceFlowUnit<HotResourceSummary> operate() {
samples++;
addToSlidingWindow();
if (samples == rcaSamplesBeforeEval) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want >= for these. It's unlikely, but rcaSamplesBeforeEval could technically be 0 and then you'd never evaluate

@ktkrg ktkrg marked this pull request as ready for review November 13, 2020 18:43
Base automatically changed from master to main February 8, 2021 19:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants