-
Notifications
You must be signed in to change notification settings - Fork 254
ClusterPool RunningCount #1528
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
ClusterPool RunningCount #1528
Conversation
|
WIP: Test |
253e2c1 to
0aa8e48
Compare
Codecov Report
@@ Coverage Diff @@
## master #1528 +/- ##
==========================================
+ Coverage 41.50% 41.66% +0.16%
==========================================
Files 336 336
Lines 30691 30690 -1
==========================================
+ Hits 12737 12788 +51
+ Misses 16867 16809 -58
- Partials 1087 1093 +6
|
0aa8e48 to
59b91dd
Compare
|
Tested live. Works gooood. Still pending UT. |
59b91dd to
c9da459
Compare
|
UT done /hold cancel |
|
/retest |
|
/assign @joelddiaz |
|
/test e2e-pool |
60d73ef to
de8c987
Compare
|
One overarching thought I've had around this PR is adding the new field to the ClusterDeployment for tracking the claimed timestamp. I understand its purpose, but it does feel a bit like leaking details about ClusterPools down into the ClusterDeployment (which we've already done as I look through other part of the ClusterDeployment.Spec). I suppose my question is: does everyone feel okay with this (I don't know what to call it: separation of concerns or leaky abstractions or something else)? |
Would it be more comfortable if it was
...but it's set a the same time as I'm happy either way, just lmk. |
de8c987 to
ee27f2d
Compare
|
/test e2e-pool |
|
/hold Team met today and we decided to do this:
|
Resolve a TODO whereby clusters added to satisfy capacity weren't being registered in the cdCollection tracking the state of all the pool clusters. Previously this didn't matter because there was no code after that point that cared; we're about to add some. Prep for HIVE-1576
ee27f2d to
4acce17
Compare
|
4acce17 rebase only. ClaimedTimestamp changes still forthcoming. |
Adds ClusterPool.Spec.RunningCount, the number of pool clusters to try to keep active at any time. Note that when ClusterPool.Spec.HibernateAfter is set, we count from when it was claimed rather than when it was started so it doesn't hibernate early. Adds a ClusterDeployment.Spec.ClusterPoolref.ClaimedTimestamp to track this. HIVE-1576
4acce17 to
52de679
Compare
This is done. /hold cancel |
joelddiaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to go
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 2uasimojo, joelddiaz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
Adds ClusterPool.Spec.RunningCount, the number of pool clusters to try to keep active at any time.
Note that when ClusterPool.Spec.HibernateAfter is set, we count from when it was claimed rather than when it was started so it doesn't hibernate early.
HIVE-1576