Commit Graph

3044 Commits

Author SHA1 Message Date
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
Armon Dadgar
09bfb1760f nomad: adding a worker pool for plan apply 2016-02-20 13:07:09 -08:00
Armon Dadgar
f1c7e27394 nomad: cache bitmaps to avoid GC pressure 2016-02-20 12:18:22 -08:00
Armon Dadgar
a33d8bffa7 Merge pull request #822 from hashicorp/f-filteralloc
Use compound index on node allocations to include terminal status
2016-02-20 12:09:04 -08:00
Armon Dadgar
1e5b230e4a nomad: use bitmap for port collision checking 2016-02-20 12:08:27 -08:00
Armon Dadgar
96bd8e668a nomad: adding simple bitmap implementation 2016-02-20 11:56:48 -08:00
Alex Dadgar
c43c031a49 Make the client only reserve 512 ports. 2016-02-20 11:43:02 -08:00
Armon Dadgar
bc9423e61b scheduler: Use AllocsByNodeTerminal to avoid filtering 2016-02-20 11:29:15 -08:00
Armon Dadgar
23c0ea7f0b nomad: Use AllocsByNodeTerminal in plan apply 2016-02-20 11:26:38 -08:00
Armon Dadgar
82aa8979c2 nomad: adding compound index on alloc terminal status 2016-02-20 11:24:06 -08:00
Alex Dadgar
05bda07e7e undo async update 2016-02-19 22:34:52 -08:00
Alex Dadgar
6d927a7525 Make updating alloc status async 2016-02-19 21:44:23 -08:00