open-nomad/client
Sean Chittenden ed29946f5e
Populate the RPC Proxy's server list if heartbeat did not include a leader.
It's possible that a Nomad Client is heartbeating with a Nomad server that
has become issolated from the quorum of Nomad Servers.  When 3x the
heartbeatTTL has been exceeded, append the Consul server list to the primary
primary server list.  When the next RPCProxy rebalance occurs, there is a
chance one of the servers discovered from Consul will be in the majority.
When client reattaches to a Nomad Server in the majority, it will include
a heartbeat and will reset the TTLs *AND* will clear the primary server list
to include only values from the heartbeat.
2016-06-10 15:54:39 -04:00
..
allocdir Speling police 2016-05-15 09:41:34 -07:00
config Bump the default Consul client timeout from 500ms to 5s. 2016-06-10 15:50:11 -04:00
driver Generate and sync Consul ServiceIDs consistently 2016-06-10 15:54:39 -04:00
fingerprint Only actively test Consul when env CONSUL_HTTP_ADDR is set 2016-06-10 15:50:11 -04:00
getter Speling police 2016-05-15 09:41:34 -07:00
rpcproxy Populate the RPC Proxy's server list if heartbeat did not include a leader. 2016-06-10 15:54:39 -04:00
stats Alloc-status only shows measured statistics and fixes to CPU calculations 2016-06-10 10:38:29 -07:00
testutil Moved the dockerIsConnected to testutils 2016-03-25 17:15:51 -07:00
alloc_runner.go Fixed the compilation on linux 2016-05-28 19:59:20 -07:00
alloc_runner_test.go Fix building tests that used DefaultConfig() but didn't pickup the package move. 2016-06-10 15:50:11 -04:00
client.go Populate the RPC Proxy's server list if heartbeat did not include a leader. 2016-06-10 15:54:39 -04:00
client_test.go Rename structs.Task's Service attribute to ConsulService 2016-06-10 15:54:39 -04:00
restarts.go Explain restart decision and display in alloc-status 2016-03-25 12:47:14 -07:00
restarts_test.go Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
task_runner.go fix channel being nil on restore 2016-06-07 15:03:08 -07:00
task_runner_test.go Fix building tests that used DefaultConfig() but didn't pickup the package move. 2016-06-10 15:50:11 -04:00
util.go Use consul/lib's RandomStagger 2016-06-10 15:48:36 -04:00
util_test.go Use consul/lib's RandomStagger 2016-06-10 15:48:36 -04:00