open-nomad/scheduler
Drew Bailey 6c788fdccd
Events/msgtype cleanup (#9117)
* use msgtype in upsert node

adds message type to signature for upsert node, update tests, remove placeholder method

* UpsertAllocs msg type test setup

* use upsertallocs with msg type in signature

update test usage of delete node

delete placeholder msgtype method

* add msgtype to upsert evals signature, update test call sites with test setup msg type

handle snapshot upsert eval outside of FSM and ignore eval event

remove placeholder upsertevalsmsgtype

handle job plan rpc and prevent event creation for plan

msgtype cleanup upsertnodeevents

updatenodedrain msgtype

msg type 0 is a node registration event, so set the default  to the ignore type

* fix named import

* fix signature ordering on upsertnode to match
2020-10-19 09:30:15 -04:00
..
annotate.go scheduler: label loops with nested switch statements for effective break (#8528) 2020-07-24 08:50:41 -04:00
annotate_test.go Deprecate IOPS 2018-12-06 15:09:26 -08:00
context.go scheduler: fix panic when preempting and evicting 2019-12-02 20:22:22 -08:00
context_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
device.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
device_test.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
feasible.go scheduler: do network feasibility checking for system jobs (#8256) 2020-06-24 16:01:00 -04:00
feasible_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
generic_sched.go api: add field filters to /v1/{allocations,nodes} 2020-10-14 10:35:22 -07:00
generic_sched_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
preemption.go Only preempt for network when there is a network 2019-06-07 18:55:55 -04:00
preemption_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
propertyset.go server 2018-09-15 16:23:13 -07:00
rank.go ar: support opting into binding host ports to default network IP (#8321) 2020-07-06 18:51:46 -04:00
rank_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
reconcile.go Revert the `requireCanary` check introduced in https://github.com/hashicorp/nomad/pull/8691/files#diff-1801138ac4d10f2064ba6f2e434ac9b4L430-R431 . 2020-09-10 14:59:02 -04:00
reconcile_test.go add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
reconcile_util.go Only ignore rescheduled allocations if they got stopped 2020-09-14 21:11:52 -04:00
reconcile_util_test.go Fix linting 2018-03-28 12:26:28 -05:00
scheduler.go Respect alloc job version for lost/failed allocs 2020-08-19 09:52:48 -04:00
scheduler_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
select.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
select_test.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
spread.go More error->debug for logging in the bin packing iterator 2019-12-12 15:50:16 -06:00
spread_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
stack.go Respect alloc job version for lost/failed allocs 2020-08-19 09:52:48 -04:00
stack_not_ent.go sync 2017-10-13 14:36:02 -07:00
stack_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
system_sched.go api: add field filters to /v1/{allocations,nodes} 2020-10-14 10:35:22 -07:00
system_sched_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
testing.go writetxn can return error, add alloc and job generic events. Add events 2020-10-14 12:44:39 -04:00
util.go consul/connect: trigger update as necessary on connect changes 2020-10-05 14:53:00 -05:00
util_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00