Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPSTREAM: 47078: HPA: only send updates when the status has changed #14529

Merged

Conversation

DirectXMan12
Copy link
Contributor

@DirectXMan12 DirectXMan12 commented Jun 8, 2017

This commit only sends updates if the status has actually changed.
Since the HPA runs at a regular interval, this should reduce the volume
of writes, especially on short HPA intervals with relatively constant
metrics.

bug 1467022

@DirectXMan12
Copy link
Contributor Author

cc @derekwaynecarr

@derekwaynecarr
Copy link
Member

[test]

1 similar comment
@derekwaynecarr
Copy link
Member

[test]

@DirectXMan12
Copy link
Contributor Author

at a glance, these seem to all be flakes.

@derekwaynecarr
Copy link
Member

[merge][severity:blocker]

@derekwaynecarr
Copy link
Member

re [test]

1 similar comment
@DirectXMan12
Copy link
Contributor Author

re [test]

@DirectXMan12
Copy link
Contributor Author

whoops, looks like there's a newly detected race in horizontal_test.go that wasn't showing up before. It was buried in the middle of the unit test results, as it doesn't actually cause the unit tests to fail :-/.

This commit only sends updates if the status has actually changed.
Since the HPA runs at a regular interval, this should reduce the volume
of writes, especially on short HPA intervals with relatively constant
metrics.
@DirectXMan12 DirectXMan12 force-pushed the cherry-pick/hpa-status-updates branch from 754696d to 20c087f Compare June 30, 2017 18:43
@DirectXMan12
Copy link
Contributor Author

ok, that should fix it.

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 20c087f

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2895/) (Base Commit: 57a4d50) (PR Branch Commit: 20c087f)

@derekwaynecarr
Copy link
Member

[merge][severity:blocker]

@openshift openshift deleted a comment from openshift-bot Jul 1, 2017
@eparis
Copy link
Member

eparis commented Jul 3, 2017

[merge] because i don't see events anywhere in the timeout...

@openshift-bot
Copy link
Contributor

openshift-bot commented Jul 3, 2017

continuous-integration/openshift-jenkins/merge Waiting: You are in the build queue at position: 1

@derekwaynecarr
Copy link
Member

[merge][severity:blocker] as last failure was due to timeout provisioning cluster.

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 20c087f

@smarterclayton smarterclayton merged commit 25b3c5d into openshift:master Jul 3, 2017
@DirectXMan12 DirectXMan12 deleted the cherry-pick/hpa-status-updates branch July 5, 2017 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants