Sivaram Mothiki
72b746e431
use exponential back off func from realis lib ( #39 )
...
* use exponential back off func from realis lib
* remove exponential backoffs from monitors
* dont compare for retry errors
2017-11-04 15:06:26 -07:00
Renan DelValle
a1350c6d55
out with the old (address) in with the new (address)
2017-10-12 17:11:01 -07:00
Renan DelValle
1fd07b5007
Avoided going through the entire list of monitored hosts by keeping a set of hosts that had transistioned to a desired mode.
2017-10-04 15:56:59 -07:00
Renan DelValle
922e8d6b5a
Changing HostMaintenance to return a map[string]bool where true indicates success, false indicates failure to transition to the desired state.
2017-10-02 17:24:01 -07:00
Renan DelValle
3111b358fc
Host Maintenance monitor now returns a list of hosts that did enter the desired mode(s) instead of a boolean. This means the monitor can see a partial success.
2017-09-29 18:21:30 -07:00
Renan DelValle
430764f025
Added tests for draining. run go test with a aurora vagrant image running to test.
2017-09-28 17:49:15 -07:00
Renan DelValle
8334dde12f
Sample client now blocks until all hosts entered desired state. Cleaned up host maintenance monitor.
2017-09-28 16:50:46 -07:00
Renan DelValle
dc6848f804
Host Maintenance monitor which allows to block until all hosts in a list have entered of the states in a provided set
2017-09-28 16:35:24 -07:00
Mothiki
4bc0a694ae
use switch instead of if else conditions
2017-08-22 17:03:35 -07:00
Mothiki
dcab5e698f
monitor job update returns on Rolle back and update fail
2017-08-22 16:55:20 -07:00
Mothiki
7e578f80bd
check for staus failed and return error
2017-08-21 19:45:36 -07:00
Kumar Krishna
e57dc98d65
add resiliency for LeaderFromZK and other fixes .
2017-04-06 23:15:44 -07:00
Kumar Krishna
b10df0603e
gorealis config refactoring
2017-03-30 18:17:21 -07:00
Kumar Krishna
3add32a585
gorealis resiliency
2017-03-20 22:34:45 -07:00
Kumar Krishna
d97e59b9e6
inital commit gorealis resiliency
2017-03-16 23:19:30 -07:00
Kumar Krishna
3b10c10dd1
update api change and remove os.exit
2016-11-14 23:16:36 -08:00
Renan DelValle
3bf2e8a831
Updating zookeeper dependency since logging problem has been solved in main repository. Go fmt run on project to tidy it up.
2016-11-02 20:41:43 -04:00
Renan DelValle
c83e5d268a
Monitor Instances now returns a tuple so an error can be passed instead of exiting on error. Tuple is: Result of action, error if it exists.
2016-10-20 14:39:48 -04:00
Renan DelValle
3fd957fe5c
Updating library for compatibility with Aurora 0.16.0 final. Thrift API differs from main Aurora one due to TaskUpdateQuery fields resulting in errors when serialized by thrift as non-optionals.
2016-09-29 20:45:24 -04:00
Renan DelValle
3a78e32e27
Changing location from where to get thrift bidnings to that it points to github location. Ran go fmt on the entire project.
2016-09-19 15:34:56 -04:00
Renan DelValle
494f733f4e
Changing timeouts to be more reasonable in sample client
2016-08-26 19:19:37 -07:00
Renan DelValle
928fc42fc2
Updated thrift API to the latest in the Aurora respository.
...
Added new monitors for watching number of instances get to a certain count using polling.
Added new commands to sample client which give some statistics.
2016-08-26 16:35:31 -07:00
Renan DelValle
01b700554a
Added the ability to monitor job updates.
...
Added the ability to kill and restart specific instances.
Fixed incorrect documentation on using-the-sample-client.
Added helper functions under the response package to extract fields from
aurora.Response.
2016-08-25 18:56:55 -07:00