Alex Dadgar
|
1e5c776e40
|
Merge pull request #624 from hashicorp/f-adjustable-timeout
User specifiable kill timeout and operator configurable max
|
2016-01-04 11:44:22 -08:00 |
|
Alex Dadgar
|
cf27c43a35
|
Validate that the kill timeout is positive
|
2016-01-04 11:41:31 -08:00 |
|
Alex Dadgar
|
9244037bba
|
Only add periodic job insertion time once
|
2015-12-23 19:02:31 -08:00 |
|
Alex Dadgar
|
e87f3e6ca7
|
Simplify periodic nextLaunch, dispatch and run
|
2015-12-23 18:54:51 -08:00 |
|
Alex Dadgar
|
bff2768060
|
Use desired launch time in periodic launch table
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
9acc05f732
|
Fix error message
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
bf2aa9f733
|
Always remove periodic jobs in fsm
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
68506c7163
|
Remove parent index
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
e6f9a5bbb3
|
fix vet
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
d073285982
|
use conditional index
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
e3231171b8
|
Fix deadlock and test
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
6bc0737970
|
Unix timestamps not UnixNano
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
3a400432dc
|
Always add jobs to periodic tracker
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
b3e87b6719
|
Remove the periodicRunner interface and pass the server as an interface to the periodicDispatcher
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
a60783a4ca
|
Simplify run function and add nextLaunch test
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
8165c1fc22
|
Improve restorePeriodicDispatcher documentation (and bug fix)
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
b5d59c8d89
|
Fix test
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
49dd0dc461
|
fixes from review
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
0a8c49f36b
|
Remove incorrect comment
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
642219ba5d
|
Race condition fixed
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
37c1f56921
|
Snapshot and restore
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
ca65daf4c0
|
move created evals to the test package
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
ea799b88cb
|
merge
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
610cfe4b34
|
Small fixes and test fixes
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
f6769c3d96
|
Leader election restore, add structs to api jobs
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
9a7b363b94
|
Add periodic index to job table
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
670cc50a02
|
merge
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
a892d61ae7
|
FSM integration
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
8c484875ce
|
Job endpoint handles periodic jobs
|
2015-12-23 18:26:39 -08:00 |
|
Alex Dadgar
|
ddf392c6be
|
User specifiable kill timeout and operator configurable max
|
2015-12-22 16:10:30 -08:00 |
|
Alex Dadgar
|
46eb604375
|
Add TaskStates to mock.Alloc. Fixes some test race conditions
|
2015-12-20 17:30:45 -08:00 |
|
Alex Dadgar
|
423d16908e
|
Go vet
|
2015-12-18 12:24:53 -08:00 |
|
Alex Dadgar
|
55cc8c61b3
|
fix
|
2015-12-18 12:17:50 -08:00 |
|
Alex Dadgar
|
ea119b7297
|
Update restart policy in mock
|
2015-12-18 12:17:18 -08:00 |
|
Alex Dadgar
|
f1c41ed4cf
|
Fix mock
|
2015-12-18 12:17:18 -08:00 |
|
Alex Dadgar
|
31c3e12957
|
merge
|
2015-12-18 12:17:13 -08:00 |
|
Alex Dadgar
|
e2193c5c81
|
Merge pull request #586 from hashicorp/f-job-gc
Add garbage collection to jobs
|
2015-12-18 11:21:50 -08:00 |
|
Alex Dadgar
|
fa71d95a8f
|
Copy the task states from the client update
|
2015-12-17 15:33:57 -08:00 |
|
Alex Dadgar
|
92823b71a8
|
merge
|
2015-12-16 15:01:15 -08:00 |
|
Alex Dadgar
|
561ccdb441
|
Use client state
|
2015-12-16 15:00:45 -08:00 |
|
Alex Dadgar
|
7bec30c2b3
|
Small cleanup
|
2015-12-16 15:00:45 -08:00 |
|
Alex Dadgar
|
6840bcb0bd
|
Don't allow users to set gc and make batch gc
|
2015-12-16 15:00:45 -08:00 |
|
Alex Dadgar
|
197d9f977c
|
Fix test
|
2015-12-16 15:00:45 -08:00 |
|
Alex Dadgar
|
f1d88bdf86
|
Remove user-specifiable gc threshold
|
2015-12-16 15:00:45 -08:00 |
|
Alex Dadgar
|
2218a79815
|
Add garbage collection to jobs
|
2015-12-16 15:00:45 -08:00 |
|
Diptanu Choudhury
|
0cc1275782
|
Added a test to make sure services no longer present are being removed
|
2015-12-15 10:43:56 -08:00 |
|
Diptanu Choudhury
|
ba5561cae0
|
Making sure existing ids for services are not re-generated
|
2015-12-15 09:14:32 -08:00 |
|
Diptanu Choudhury
|
7a8acd32e4
|
Populating service ids only if allocations can be placed for system jobs
|
2015-12-15 08:38:18 -08:00 |
|
Diptanu Choudhury
|
b7f556fabc
|
Changed some comments
|
2015-12-14 18:05:58 -08:00 |
|
Diptanu Choudhury
|
5090d27adc
|
Fixed the job endpoints test
|
2015-12-14 17:17:29 -08:00 |
|