Commit graph

3163 commits

Author SHA1 Message Date
Alex Dadgar 8d1d96d33f 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 5eeb9c5ef6 Merge pull request #834 from hashicorp/f-serverbatch
Batch client updates of allocation status
2016-02-21 21:39:06 -08:00
Alex Dadgar 51bacf674e address feedback 2016-02-21 21:32:32 -08:00
Alex Dadgar e96ca4679f Fix test 2016-02-21 21:15:02 -08:00
Alex Dadgar 281e2ca198 Batch client allocation updates to the server 2016-02-21 21:15:02 -08:00
Armon Dadgar 64ecbb7cc2 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 5a9c7f7002 Fixing comment 2016-02-21 21:03:24 -08:00
Abhishek Chanda 34d3deff9b Run a bunch of tests in parallel 2016-02-21 19:42:03 -08:00
Armon Dadgar 7fc7cd9453 nomad: batch client updates for 50msec 2016-02-21 18:51:34 -08:00
Armon Dadgar 06425211ab nomad: alloc update_alloc endpoint to take multiple allocations 2016-02-21 18:00:46 -08:00
Armon Dadgar 6e8d6e61fc nomad: fixing test name 2016-02-21 18:00:33 -08:00
Armon Dadgar 74fb2d5a65 nomad: fixing tests 2016-02-21 17:59:12 -08:00
Armon Dadgar 0e1f9a3def nomad: FSM supports multiple client updates 2016-02-21 17:58:56 -08:00
Armon Dadgar 4c4581a07e nomad/state: Allow UpdateAllocFromClient to take multiple allocs 2016-02-21 17:49:46 -08:00
Armon Dadgar e8c44448c2 Merge pull request #832 from hashicorp/f-cleanup
Enable job normalization during planning
2016-02-21 14:06:15 -08:00
Armon Dadgar e4524b173c Address review feedback 2016-02-21 13:32:45 -08:00
Alex Dadgar 790344fd81 env var for travis 2016-02-21 13:30:25 -08:00
Armon Dadgar 6ddc4fd17b nomad: normalize job for evictions 2016-02-21 11:51:51 -08:00
Armon Dadgar 0e24df554e nomad: allow for job normalization 2016-02-21 11:42:54 -08:00
Armon Dadgar 87447efa61 schedule: deduplicate the jobs 2016-02-21 11:32:56 -08:00
Armon Dadgar b36d96baf7 nomad: allow sharing a single Job in a plan and alloc update request 2016-02-21 11:31:27 -08:00
Armon Dadgar 0dbd4c46c9 nomad: make PopulateServiceIDs more efficient 2016-02-21 11:15:00 -08:00
Alex Dadgar a4e5bce6df Fix envvar 2016-02-20 19:18:21 -08:00
Alex Dadgar ee3e26c2d6 Vendor envvar in travis 2016-02-20 19:15:47 -08:00
Armon Dadgar 57663173e5 Remove LZW changelog, its been reverted 2016-02-20 19:14:48 -08:00
Alex Dadgar be6643ab1d 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 d6f28ebcb4 Fix import path to be non-vendored in Makefile 2016-02-20 18:59:55 -08:00
Alex Dadgar 8f513deb66 Merge branch 'f-code-gen' of github.com:hashicorp/nomad into f-code-gen 2016-02-20 18:32:12 -08:00
Alex Dadgar 5e1f2aae39 Vendoring 2016-02-20 18:32:02 -08:00
Alex Dadgar 1ed9515d4b external dep 2016-02-20 18:22:57 -08:00
Alex Dadgar 2a19e179bc Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
Armon Dadgar 797a8a4138 Merge pull request #829 from hashicorp/f-bench-encode
nomad: simple encode/decode benchmark
2016-02-20 17:47:49 -08:00
Armon Dadgar a08391455a nomad: simple encode/decode benchmark 2016-02-20 17:43:17 -08:00
Armon Dadgar 623b473ee6 Revert "Lzw compress raft entries"
This reverts commit a687ee6df316ffadac5305f4be9cf9a5642cd6af.

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 56aaffd9cc changelog 2016-02-20 16:21:42 -08:00
Alex Dadgar d42e0a7dfd Add force node gc 2016-02-20 16:11:29 -08:00
Alex Dadgar a3ac4bbc5a Merge pull request #828 from hashicorp/f-gc-endpoint
Job GC endpoint
2016-02-20 16:03:39 -08:00
Alex Dadgar d14d885805 Merge pull request #826 from hashicorp/f-compress-raft
LZW compress raft entries
2016-02-20 16:03:05 -08:00
Alex Dadgar 821b9c13db 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 2d05f8cef7 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 50135ac402 nomad: guard against a negative pool size 2016-02-20 15:56:08 -08:00
Alex Dadgar 143972b6d9 Job GC endpoint 2016-02-20 15:50:41 -08:00
Armon Dadgar 3746bf7cd3 nomad: use CPU count to determine pool size 2016-02-20 13:42:13 -08:00
Armon Dadgar 1076fb44d9 nomad: Adding Size to EvaluatePool 2016-02-20 13:42:13 -08:00
Armon Dadgar eb0f00103e nomad: Allow resize of EvaluatePool 2016-02-20 13:42:13 -08:00
Armon Dadgar 87da5601cc 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 d69b8d055b nomad: extra comment 2016-02-20 13:41:49 -08:00
Alex Dadgar 6e8a57ba1a Lzw compress raft entries 2016-02-20 13:21:38 -08:00
Armon Dadgar 813b02c8b4 nomad: plan apply uses the EvaluatePool 2016-02-20 13:12:14 -08:00
Alex Dadgar 3611433c21 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