open-nomad/nomad
James Phillips 9a5651e83a
Applies leader loop fixes from Consul.
There was a deadlock issue we fixed under https://github.com/hashicorp/consul/issues/3230,
and then discovered an issue with under https://github.com/hashicorp/consul/issues/3545. This
PR ports over those fixes, as well as makes the revoke actions only happen if leadership was
established. This brings the Nomad leader loop inline with Consul's.
2017-10-16 22:01:49 -07:00
..
deploymentwatcher sync 2017-10-13 14:36:02 -07:00
mock sync 2017-10-13 14:36:02 -07:00
state sync 2017-10-13 14:36:02 -07:00
structs sync 2017-10-13 14:36:02 -07:00
types Change the signature of the PeriodicCallback to return an error 2016-06-10 15:54:39 -04:00
acl.go ForceLeave endpoint must use Server.ResolveToken 2017-10-09 15:49:04 -07:00
acl_endpoint.go review feedback 2017-10-16 17:14:48 -04:00
acl_endpoint_test.go review feedback 2017-10-16 17:14:48 -04:00
acl_test.go sync 2017-10-13 14:36:02 -07:00
alloc_endpoint.go Allow Node.SecretID for GetNode and GetAlloc 2017-10-12 16:27:33 -07:00
alloc_endpoint_test.go Allow Node.SecretID for GetNode and GetAlloc 2017-10-12 16:27:33 -07:00
blocked_evals.go sync 2017-10-13 14:36:02 -07:00
blocked_evals_test.go sync 2017-10-13 14:36:02 -07:00
config.go sync 2017-09-19 10:08:23 -05:00
core_sched.go Sync namespace changes 2017-09-07 17:04:21 -07:00
core_sched_test.go Sync namespace changes 2017-09-07 17:04:21 -07:00
deployment_endpoint.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
deployment_endpoint_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
deployment_watcher_shims.go Deployment watcher takes state store 2017-08-30 18:51:59 -07:00
endpoints_oss.go Sync namespace changes 2017-09-07 17:04:21 -07:00
eval_broker.go Remove structs import from api 2017-09-29 10:36:08 -07:00
eval_broker_test.go Sync namespace changes 2017-09-07 17:04:21 -07:00
eval_endpoint.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
eval_endpoint_test.go base64 migrate token 2017-10-13 10:59:13 -07:00
fsm.go sync 2017-10-13 14:36:02 -07:00
fsm_not_ent.go sync 2017-10-13 14:36:02 -07:00
fsm_registry_oss.go Sync namespace changes 2017-09-07 17:04:21 -07:00
fsm_test.go sync 2017-10-13 14:36:02 -07:00
heartbeat.go Nomad builds 2017-02-07 20:31:23 -08:00
heartbeat_test.go parallel nomad tests 2017-07-25 17:39:36 -07:00
job_endpoint.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
job_endpoint_oss.go sync 2017-09-19 10:08:23 -05:00
job_endpoint_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
leader.go Applies leader loop fixes from Consul. 2017-10-16 22:01:49 -07:00
leader_oss.go sync acls 2017-09-13 11:38:29 -07:00
leader_test.go sync 2017-10-13 14:36:02 -07:00
merge.go
node_endpoint.go Remove support for pre-0.5 nodes 2017-10-13 11:28:47 -07:00
node_endpoint_test.go no namespaces in oss test 2017-10-16 14:21:29 -07:00
operator_endpoint.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
operator_endpoint_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
periodic.go Remove structs import from api 2017-09-29 10:36:08 -07:00
periodic_endpoint.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
periodic_endpoint_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
periodic_test.go Enable more linters 2017-09-26 15:26:33 -07:00
plan_apply.go sync 2017-10-13 14:36:02 -07:00
plan_apply_not_ent.go sync 2017-10-13 14:36:02 -07:00
plan_apply_pool.go Log reason a plan gets rejected per node. 2017-07-13 17:14:02 -07:00
plan_apply_pool_test.go Enable more linters 2017-09-26 15:26:33 -07:00
plan_apply_test.go sync 2017-10-13 14:36:02 -07:00
plan_endpoint.go core: Pause NackTimeout while in the plan_queue as progress is being made 2016-03-04 12:59:35 -08:00
plan_endpoint_test.go sync 2017-10-13 14:36:02 -07:00
plan_queue.go
plan_queue_test.go parallel nomad tests 2017-07-25 17:39:36 -07:00
pool.go Remove dead code 2017-03-03 18:27:49 -08:00
raft_rpc.go Join + Leave peer 2017-02-02 15:49:06 -08:00
regions_endpoint.go
regions_endpoint_test.go parallel nomad tests 2017-07-25 17:39:36 -07:00
rpc.go WatchCtx propogates context error 2017-09-06 17:37:40 -07:00
rpc_test.go parallel nomad tests 2017-07-25 17:39:36 -07:00
search_endpoint.go sync 2017-10-13 14:36:02 -07:00
search_endpoint_oss.go sync 2017-10-13 14:36:02 -07:00
search_endpoint_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
serf.go Enable more linters 2017-09-26 15:26:33 -07:00
serf_test.go parallel nomad tests 2017-07-25 17:39:36 -07:00
server.go sync 2017-10-13 14:36:02 -07:00
server_setup_oss.go sync 2017-09-19 10:08:23 -05:00
server_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
status_endpoint.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
status_endpoint_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
system_endpoint.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
system_endpoint_test.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
timetable.go Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
timetable_test.go Include google compare library 2017-09-01 16:42:09 -07:00
util.go sync 2017-10-13 14:36:02 -07:00
util_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
vault.go Enable more linters 2017-09-26 15:26:33 -07:00
vault_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
vault_testing.go Add server metrics 2017-02-14 16:02:18 -08:00
worker.go Worker waits til max ModifyIndex across EvalsByJob 2017-09-14 14:28:43 -07:00
worker_test.go sync 2017-10-13 14:36:02 -07:00