Commit Graph

707 Commits

Author SHA1 Message Date
Alex Dadgar
186b761637 Make artifact escape analysis work on windows 2016-03-22 20:54:36 -07:00
Alex Dadgar
9d6604f693 Clarify log config disk usage message 2016-03-22 10:27:14 -07:00
Alex Dadgar
bffcf5bd9f ProposedAllocs dedups in-place updated allocations 2016-03-21 18:09:32 -07:00
Alex Dadgar
f5196b52b2 Fix copy to distinguish between nil and empty map/structs 2016-03-21 16:29:21 -07:00
Alex Dadgar
d428501400 add destination to artifact block and validate it 2016-03-18 12:01:46 -07:00
Alex Dadgar
139064008d display server leaders per region 2016-03-17 16:04:09 -07:00
Alex Dadgar
e47cac6d7f Fix validate test 2016-03-17 11:29:41 -07:00
Alex Dadgar
e0bc33a78e Allow count zero 2016-03-17 11:02:59 -07:00
Alex Dadgar
a70820d7ca Respond to comments and fix test 2016-03-15 20:21:52 -07:00
Alex Dadgar
317915b834 validate that java/qemu have artifacts and better artifact validation 2016-03-15 15:05:36 -07:00
Alex Dadgar
bdc7fdebe1 Download artifacts and remove old code for drivers 2016-03-15 13:28:57 -07:00
Alex Dadgar
afc9b6afbc update the getter 2016-03-15 13:28:57 -07:00
Alex Dadgar
2d9a83d893 Go-getter options are generic and validation of checksums 2016-03-15 13:28:57 -07:00
Alex Dadgar
a1544197b8 Switch from string to artifact struct 2016-03-15 13:28:57 -07:00
Alex Dadgar
a5896d08a4 Parse artifacts and options 2016-03-15 13:28:57 -07:00
Sean Chittenden
9e8e9a1bf7 Add two tests for invalid service names 2016-03-14 17:54:49 -07:00
Sean Chittenden
7bc3353606 Restrict the service name to match RFC-1123 and RFC-2782 2016-03-14 17:44:59 -07:00
Alex Dadgar
86d785ef49 leader: nodes TTLing log promoted from DEBUG to WARN 2016-03-10 13:16:31 -08:00
Alex Dadgar
495d0e6dc2 Add allocation index environment variable 2016-03-09 18:09:51 -08:00
Alex Dadgar
5cc91ecd79 Remove outstanding reset from plan applier 2016-03-04 17:25:37 -08:00
Alex Dadgar
022b6dd528 Fix bug introduced with paused nack timers 2016-03-04 16:17:14 -08:00
Alex Dadgar
72901a9ac1 core: Pause NackTimeout while in the plan_queue as progress is being made 2016-03-04 12:59:35 -08:00
Alex Dadgar
ff48998942 Avoid serializes Allocation.Resources 2016-03-01 14:09:25 -08:00
Alex Dadgar
e0224b8a35 Refactor task runner to include driver starting into restart policy and add recoverable errors 2016-02-28 16:56:05 -08:00
Alex Dadgar
e66238e6ea Store the job on allocations that are from stopped jobs 2016-02-24 14:50:59 -08:00
Armon Dadgar
de98c4e327 nomad: do not skip node plan if we receive an evaluation result 2016-02-22 22:32:02 -08:00
Alex Dadgar
6f49b9e68c Revert "Debug messages around the plan and plan response"
This reverts commit 7646657e6b.
2016-02-22 22:24:52 -08:00
Alex Dadgar
7b871a3d29 Revert "Debug log in plan apply"
This reverts commit 532df0d27e.
2016-02-22 22:24:27 -08:00
Alex Dadgar
62e723b15f Revert "err logs in worker and scheduler"
This reverts commit 7befc58652.
2016-02-22 22:23:57 -08:00
Alex Dadgar
7646657e6b Debug messages around the plan and plan response 2016-02-22 20:36:11 -08:00
Alex Dadgar
532df0d27e Debug log in plan apply 2016-02-22 16:12:16 -08:00
Alex Dadgar
7befc58652 err logs in worker and scheduler 2016-02-22 14:47:59 -08:00
Alex Dadgar
3cac3fd5c4 add debug error if there is a partial apply and refresh index isn't set 2016-02-22 13:03:40 -08:00
Armon Dadgar
854b380364 nomad: cleanup handling of refresh index 2016-02-22 11:43:41 -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
Armon Dadgar
881abb8919 Fixing comment 2016-02-21 21:03:24 -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
58196d3ccd Address review feedback 2016-02-21 13:32:45 -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
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
6b188d84eb Switch to using go/codec and use code generation 2016-02-20 18:05:17 -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