open-nomad/nomad
Alex Dadgar e7e18c931c Fix sorting of job versions
Fixes an issue in which the versions were improperly sorted which would
cause pruning of the wrong job version. This essentially meant that job
versions above 255 would be dropped from the job version table (note
this was due to the prefix walk crossing from the 1-byte to 2-byte
threshold).

Fixes https://github.com/hashicorp/nomad/issues/3357
2017-10-12 13:33:55 -07:00
..
deploymentwatcher Remove structs import from api 2017-09-29 10:36:08 -07:00
mock /v1/client/agent/* ACL enforcement 2017-10-09 12:18:54 -07:00
state Fix sorting of job versions 2017-10-12 13:33:55 -07:00
structs fix test 2017-10-11 18:08:37 -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 ForceLeave endpoint must use Server.ResolveToken 2017-10-09 15:49:04 -07:00
acl_endpoint_test.go Merge pull request #3302 from hashicorp/b-remove-structs-from-api 2017-09-29 11:39:43 -07:00
acl_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
alloc_endpoint.go ForceLeave endpoint must use Server.ResolveToken 2017-10-09 15:49:04 -07:00
alloc_endpoint_test.go Move acl helpers from nomad/ into nomad/mock 2017-10-06 14:50:06 -07:00
blocked_evals.go Cancel blocked evals upon successful one for job 2017-01-04 16:16:04 -08:00
blocked_evals_test.go fixed all spelling mistakes for goreport 2017-08-07 17:13:05 -04: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 ForceLeave endpoint must use Server.ResolveToken 2017-10-09 15:49:04 -07:00
deployment_endpoint_test.go Move acl helpers from nomad/ into nomad/mock 2017-10-06 14:50:06 -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 ForceLeave endpoint must use Server.ResolveToken 2017-10-09 15:49:04 -07:00
eval_endpoint_test.go Move acl helpers from nomad/ into nomad/mock 2017-10-06 14:50:06 -07:00
fsm.go Remove structs import from api 2017-09-29 10:36:08 -07:00
fsm_registry_oss.go Sync namespace changes 2017-09-07 17:04:21 -07:00
fsm_test.go Enable more linters 2017-09-26 15:26:33 -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 ForceLeave endpoint must use Server.ResolveToken 2017-10-09 15:49:04 -07:00
job_endpoint_oss.go sync 2017-09-19 10:08:23 -05:00
job_endpoint_test.go Move acl helpers from nomad/ into nomad/mock 2017-10-06 14:50:06 -07:00
leader.go Remove structs import from api 2017-09-29 10:36:08 -07:00
leader_oss.go sync acls 2017-09-13 11:38:29 -07:00
leader_test.go Sync namespace changes 2017-09-07 17:04:21 -07:00
merge.go nomad: adding merge guard for non-nomad servers 2015-06-04 13:15:46 +02:00
node_endpoint.go Small fixes 2017-10-11 17:13:50 -07:00
node_endpoint_test.go fixups from code review 2017-10-11 17:13:50 -07:00
operator_endpoint.go Operator ACL enforcement 2017-10-10 15:18:19 -07:00
operator_endpoint_test.go Operator ACL enforcement 2017-10-10 15:18:19 -07:00
periodic.go Remove structs import from api 2017-09-29 10:36:08 -07:00
periodic_endpoint.go Force Periodic ACL enforcement 2017-10-10 15:16:41 -07:00
periodic_endpoint_test.go Force Periodic ACL enforcement 2017-10-10 15:16:41 -07:00
periodic_test.go Enable more linters 2017-09-26 15:26:33 -07:00
plan_apply.go Enable more linters 2017-09-26 15:26:33 -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 Remove structs import from api 2017-09-29 10:36:08 -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 parallel nomad tests 2017-07-25 17:39:36 -07:00
plan_queue.go nomad: cleanup stats goroutines 2015-08-05 16:45:50 -07:00
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 nomad: leader forwarding not needed for regions 2015-11-23 22:27:07 -08:00
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 Refactor permissions checks into funcs 2017-10-11 18:05:27 -07:00
search_endpoint_oss.go Refactor permissions checks into funcs 2017-10-11 18:05:27 -07:00
search_endpoint_test.go Refactor permissions checks into funcs 2017-10-11 18:05:27 -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 Enable more linters 2017-09-26 15:26:33 -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 Status.Members ACL enforcement 2017-10-10 10:36:54 -07:00
status_endpoint_test.go Status.Members ACL enforcement 2017-10-10 10:36:54 -07:00
system_endpoint.go System ACL enforcement 2017-10-10 10:53:10 -07:00
system_endpoint_test.go System ACL enforcement 2017-10-10 10:53:10 -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 namespace changes 2017-09-07 17:04:21 -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 Remove structs import from api 2017-09-29 10:36:08 -07:00