Commit Graph

3163 Commits

Author SHA1 Message Date
Alex Dadgar
daf10d8fc4 Merge pull request #835 from hashicorp/f-client-alloc-update
Batch client allocation updates to the server
2016-02-21 21:41:48 -08:00
Alex Dadgar
19c8b8b108 Merge pull request #834 from hashicorp/f-serverbatch
Batch client updates of allocation status
2016-02-21 21:39:06 -08:00
Alex Dadgar
48eff00427 address feedback 2016-02-21 21:32:32 -08:00
Alex Dadgar
a6eb1ec98a Fix test 2016-02-21 21:15:02 -08:00
Alex Dadgar
6b3c22e91a Batch client allocation updates to the server 2016-02-21 21:15:02 -08:00
Armon Dadgar
5ab6ff4734 Merge pull request #833 from hashicorp/f-multiupdate
Allow the clients to update status of multiple allocations server side
2016-02-21 21:03:42 -08:00
Armon Dadgar
881abb8919 Fixing comment 2016-02-21 21:03:24 -08:00
Abhishek Chanda
34b5dcbc50 Run a bunch of tests in parallel 2016-02-21 19:42:03 -08:00
Armon Dadgar
396781e036 nomad: batch client updates for 50msec 2016-02-21 18:51:34 -08:00
Armon Dadgar
9a3a60844d nomad: alloc update_alloc endpoint to take multiple allocations 2016-02-21 18:00:46 -08:00
Armon Dadgar
ef68fa0ae9 nomad: fixing test name 2016-02-21 18:00:33 -08:00
Armon Dadgar
5ad5bf63e4 nomad: fixing tests 2016-02-21 17:59:12 -08:00
Armon Dadgar
1e0cf8da74 nomad: FSM supports multiple client updates 2016-02-21 17:58:56 -08:00
Armon Dadgar
a2d1bca710 nomad/state: Allow UpdateAllocFromClient to take multiple allocs 2016-02-21 17:49:46 -08:00
Armon Dadgar
e02bada3c0 Merge pull request #832 from hashicorp/f-cleanup
Enable job normalization during planning
2016-02-21 14:06:15 -08:00
Armon Dadgar
58196d3ccd Address review feedback 2016-02-21 13:32:45 -08:00
Alex Dadgar
152ccb9461 env var for travis 2016-02-21 13:30:25 -08:00
Armon Dadgar
802ad2ba67 nomad: normalize job for evictions 2016-02-21 11:51:51 -08:00
Armon Dadgar
9702c32f44 nomad: allow for job normalization 2016-02-21 11:42:54 -08:00
Armon Dadgar
790725d739 schedule: deduplicate the jobs 2016-02-21 11:32:56 -08:00
Armon Dadgar
d20b8bf085 nomad: allow sharing a single Job in a plan and alloc update request 2016-02-21 11:31:27 -08:00
Armon Dadgar
260c9e2890 nomad: make PopulateServiceIDs more efficient 2016-02-21 11:15:00 -08:00
Alex Dadgar
55e0beda1b Fix envvar 2016-02-20 19:18:21 -08:00
Alex Dadgar
b08a756bea Vendor envvar in travis 2016-02-20 19:15:47 -08:00
Armon Dadgar
a9e2d8d2cb Remove LZW changelog, its been reverted 2016-02-20 19:14:48 -08:00
Alex Dadgar
5ccfe17073 Merge pull request #830 from hashicorp/f-code-gen
Switch to using go/codec and use code generation
2016-02-20 19:13:43 -08:00
Alex Dadgar
d8150054dd Fix import path to be non-vendored in Makefile 2016-02-20 18:59:55 -08:00
Alex Dadgar
12afee343e Merge branch 'f-code-gen' of github.com:hashicorp/nomad into f-code-gen 2016-02-20 18:32:12 -08:00
Alex Dadgar
916fcfd940 Vendoring 2016-02-20 18:32:02 -08:00
Alex Dadgar
20f43161d2 external dep 2016-02-20 18:22:57 -08:00
Alex Dadgar
6b188d84eb Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
Armon Dadgar
ea849f6871 Merge pull request #829 from hashicorp/f-bench-encode
nomad: simple encode/decode benchmark
2016-02-20 17:47:49 -08:00
Armon Dadgar
ae7ddd3189 nomad: simple encode/decode benchmark 2016-02-20 17:43:17 -08:00
Armon Dadgar
8a5c7370ed Revert "Lzw compress raft entries"
This reverts commit a687ee6df3.

The LZW compression reduces the file size by ~60%, but increases
our encode and decode costs by 2x in a CPU bottlenecked path.
2016-02-20 17:36:39 -08:00
Alex Dadgar
71ba2837ec changelog 2016-02-20 16:21:42 -08:00
Alex Dadgar
d1aff26b4f Add force node gc 2016-02-20 16:11:29 -08:00
Alex Dadgar
9d8d8fe93e Merge pull request #828 from hashicorp/f-gc-endpoint
Job GC endpoint
2016-02-20 16:03:39 -08:00
Alex Dadgar
d9059c5497 Merge pull request #826 from hashicorp/f-compress-raft
LZW compress raft entries
2016-02-20 16:03:05 -08:00
Alex Dadgar
2ed5d34035 Merge pull request #823 from hashicorp/f-bitmap
Switch port collision checking to use bitmap instead of map
2016-02-20 16:02:48 -08:00
Armon Dadgar
0e854ef4f0 Merge pull request #827 from hashicorp/f-dynamic-pool
Set the size of the evaluation pool based on cores
2016-02-20 15:56:50 -08:00
Armon Dadgar
96c03c5ae1 nomad: guard against a negative pool size 2016-02-20 15:56:08 -08:00
Alex Dadgar
902c14beb4 Job GC endpoint 2016-02-20 15:50:41 -08:00
Armon Dadgar
7049553a1f nomad: use CPU count to determine pool size 2016-02-20 13:42:13 -08:00
Armon Dadgar
9dc72fee95 nomad: Adding Size to EvaluatePool 2016-02-20 13:42:13 -08:00
Armon Dadgar
8f32e65227 nomad: Allow resize of EvaluatePool 2016-02-20 13:42:13 -08:00
Armon Dadgar
d1f0b55263 Merge pull request #825 from hashicorp/f-apply
Introduce a EvaluatePool to parallelize the Plan Applier
2016-02-20 13:41:59 -08:00
Armon Dadgar
b7842db1a2 nomad: extra comment 2016-02-20 13:41:49 -08:00
Alex Dadgar
a687ee6df3 Lzw compress raft entries 2016-02-20 13:21:38 -08:00
Armon Dadgar
caa11f6aeb nomad: plan apply uses the EvaluatePool 2016-02-20 13:12:14 -08:00
Alex Dadgar
f4432b8853 Merge pull request #824 from hashicorp/b-reduce-client-ports
Make the client only reserve 512 ports.
2016-02-20 13:11:29 -08:00