Preetha Appan
|
2a5df68e9a
|
Change the default mode for client side restarts to fail from delay
|
2018-01-31 10:39:11 -06:00 |
|
Preetha Appan
|
8ecb6ca91b
|
Code review feedback and more test cases
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
28d2439810
|
Consider dead job status and modify unit test setup for correctness
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
4fd2691323
|
Use next alloc id being set, move outside structs package and other code review feedback
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
009df8b986
|
Unit test for alloc struct's GCEligible method
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
5a4c913879
|
Make garbage collection be aware of rescheduling info in allocations
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
4cad96a1c3
|
Remove unnecessary newlines
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
d016cbdf7b
|
Unit test for alloc struct's GCEligible method
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
dd91a2f5be
|
Make garbage collection be aware of rescheduling info in allocations
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
9d15e0c05b
|
Code review feedback
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
a1237d627a
|
code review feedback
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
646cef4cef
|
Flaky contains check replaced with regex
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
95dba191ac
|
Always show reschedule tracking and next alloc id in alloc status
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
36b8e91625
|
Show info about remaining reschedule attempts relative to alloc modify time
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
5714a6b8bf
|
Add method on API alloc to calculate attempted and remaining reschedule events
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
537f410e75
|
Show some information about rescheduling in alloc-status cli
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
5ad892026a
|
Add a field to track the next allocation during a replacement
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
2ed4de7e7b
|
Track previous node id correctly, plus unit test
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
dd4917c2f0
|
Add more clarification in comment
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
09bef7d1ce
|
Preallocate slice for skipped nodes
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
237beb49ae
|
Better score threshold
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
fa18c0def4
|
Add one more unit test
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
a75540cec6
|
Limit iterator uses a score threshold and a maxSkip value to be able to skip lower scoring nodes
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
b7e59e8037
|
Fix logging levels per code review
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
13444c08a4
|
Remove unused method
|
2018-01-31 09:58:05 -06:00 |
|
Preetha
|
ec1de50d01
|
replace err with warn
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
5f501f632b
|
s/assert/require/g
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
52a665836e
|
Remove extra fields set in client allocations during update
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
e09ea8c0b0
|
Address code review comments
|
2018-01-31 09:58:05 -06:00 |
|
Preetha Appan
|
780c8cceab
|
Fix linting
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
57e20b6399
|
Fix flaky test that fails when there is CPU contention
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
0c56a12a77
|
Add RescheduleTracker to allocations API struct
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
4a78c5bc84
|
Fix unit test
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
1f834d1a31
|
Add reschedule policy to API, and HCL parsing support.
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
9c600c6d6c
|
Clean up comments, and one more unit test
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
f3eb343ffa
|
Reconcile against reschedule tracker api changes
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
2567b51c58
|
Edge trigger evaluation when allocations client status is failed
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
b6268a5fab
|
Beef up unit test for rescheduling batch jobs
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
ea4a889e28
|
Address more code review feedback
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
bd89d2b39e
|
Make sure that reschedule trackers are not added for node drain replacements
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
a662b38801
|
Improve reconciler unit tests
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
fee4ccf154
|
Prevent side effect modification of select options when preferred nodes are set
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
21b7b79d5d
|
Add helper methods, use require and other code review feedback
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
d0f9d59abb
|
Reconile with changes to structs for reschedule tracking
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
fbb1936dee
|
Fix some comments and lint warnings, remove unused method
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
031c566ada
|
Reschedule previous allocs and track their reschedule attempts
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
6fcd9f67a8
|
Named fields in unit test and one more test case
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
5ee3cdecc5
|
Clean up the copy method + unit test
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
8408835af8
|
Wrap reschedule events in another struct and other review feedback
|
2018-01-31 09:56:53 -06:00 |
|
Preetha Appan
|
0a39f213e3
|
Export RescheduleEligible method for accessibility from UpdateAlloc endpoint
|
2018-01-31 09:56:53 -06:00 |
|