Commit Graph

3002 Commits

Author SHA1 Message Date
Armon Dadgar 813b02c8b4 nomad: plan apply uses the EvaluatePool 2016-02-20 13:12:14 -08:00
Armon Dadgar 8724ef5f57 nomad: adding a worker pool for plan apply 2016-02-20 13:07:09 -08:00
Armon Dadgar 8b914371dc 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 35741fcedd scheduler: Use AllocsByNodeTerminal to avoid filtering 2016-02-20 11:29:15 -08:00
Armon Dadgar 2d7236eb95 nomad: Use AllocsByNodeTerminal in plan apply 2016-02-20 11:26:38 -08:00
Armon Dadgar abf7e52689 nomad: adding compound index on alloc terminal status 2016-02-20 11:24:06 -08:00
Alex Dadgar 2ec5d7de76 undo async update 2016-02-19 22:34:52 -08:00
Alex Dadgar c08e3dbee8 Make updating alloc status async 2016-02-19 21:44:23 -08:00
Alex Dadgar 13e5597ca2 Reduce alloc lock contention in client 2016-02-19 19:51:55 -08:00
Alex Dadgar 99d2c173ff import 2016-02-19 16:31:04 -08:00
Alex Dadgar fdf7f6ccb8 Merge branch 'master' of github.com:hashicorp/nomad 2016-02-19 16:18:27 -08:00
Alex Dadgar 1ecfb00954 Changelog 2016-02-19 16:06:23 -08:00
Alex Dadgar fef9b70a9e Merge pull request #821 from hashicorp/f-client-set-receive
Client stores when it receives a task
2016-02-19 16:05:18 -08:00
Alex Dadgar 2706aa2100 Better comment 2016-02-19 16:02:48 -08:00
Alex Dadgar 30f0703929 Remove debug 2016-02-19 15:54:29 -08:00
Alex Dadgar d1011c9668 Fixes 2016-02-19 15:49:32 -08:00
Alex Dadgar e2a4c4ccc5 Client stores when it receives a task 2016-02-19 14:49:43 -08:00
Alex Dadgar d47935b455 Don't re-register as initializing 2016-02-18 23:02:28 -08:00
Alex Dadgar 96fd272422 Increase Alloc channel buffers 2016-02-18 20:43:48 -08:00
Diptanu Choudhury 09be6c32e9 Merge pull request #816 from hashicorp/b-java-linux
Enabling cgroups and chroot on linux
2016-02-18 16:18:49 -08:00
Diptanu Choudhury 5180480787 Fixed the fingerprinter test 2016-02-18 11:34:17 -08:00
Diptanu Choudhury 502d56b232 Enabling cgroups and chroot on linux 2016-02-18 09:49:11 -08:00
Alex Dadgar 098f3640b5 Merge pull request #813 from hashicorp/update-cleanhttp
Update go-cleanhttp
2016-02-18 08:37:25 -08:00
Alex Dadgar bd29f09ed2 Merge pull request #814 from achanda/go
Upgrade go to 1.6
2016-02-17 19:12:24 -08:00
Abhishek Chanda 7910b655d6 Upgrade go to 1.6 2016-02-17 19:11:19 -08:00
Alex Dadgar f84dc20528 Update vagrant to Go 1.6 2016-02-17 15:10:28 -08:00
Alex Dadgar 68d7a7036e Changelog 2016-02-17 14:14:45 -08:00
Alex Dadgar 9e4b66a24c Merge pull request #808 from hashicorp/b-seed-rand
Seed the servers random number generator
2016-02-17 14:05:43 -08:00
Alex Dadgar df0767e114 Merge pull request #812 from hashicorp/f-disable-cores
Disable half the workers, freeing half the CPUs, on the leader
2016-02-17 14:05:27 -08:00
Alex Dadgar 3ae948969e Merge pull request #811 from hashicorp/b-heartbeat-loop
Extract the heartbeat and saveState into their own go routines
2016-02-17 14:05:20 -08:00
Alex Dadgar f53d7ec1bf Merge pull request #809 from hashicorp/b-failed-kill
Killing a driver handle is retried with an exponential backoff
2016-02-17 14:05:08 -08:00
Jeff Mitchell c5ffdc31de Update go-cleanhttp 2016-02-17 16:59:20 -05:00
Alex Dadgar 75d7fce90c Disable half the workers, freeing half the CPUs 2016-02-17 13:50:06 -08:00
Alex Dadgar e1dc47de91 Remove blank line 2016-02-17 11:48:52 -08:00
Alex Dadgar 25c5e543f4 Use crypto random seed 2016-02-17 11:47:02 -08:00
Alex Dadgar 5473b6ae63 Extract the heartbeat and saveState into their own go routines 2016-02-17 11:32:17 -08:00
Alex Dadgar 48bc77bc7f fix java test 2016-02-17 10:04:19 -08:00
Alex Dadgar 18d2d9c091 Killing a driver handle is retried with an exponential backoff 2016-02-16 21:00:49 -08:00
Alex Dadgar 01cadf7cb0 Seed the servers random number generator 2016-02-16 19:40:02 -08:00
Diptanu Choudhury 9301581bb4 Merge pull request #805 from hashicorp/b-http-addr
Construct http addr for clients properly
2016-02-16 17:54:33 -08:00
Diptanu Choudhury 72c52e3158 Testing default http port is being set 2016-02-16 17:54:17 -08:00
Diptanu Choudhury 3c3e29977b Merge pull request #807 from achanda/format
Separate arguments with a space while writing
2016-02-16 17:31:51 -08:00
Abhishek Chanda 2059cf221b Separate arguments with a space while writing 2016-02-16 17:13:19 -08:00
Diptanu Choudhury f33a010f8d Added a test for testing that http addr is set properly 2016-02-16 13:42:48 -08:00
Diptanu Choudhury 0e7a2d68c1 fixing the logic of addr resolution 2016-02-16 13:13:40 -08:00
Alex Dadgar d4d8197244 lower cpu minimum 2016-02-16 10:25:45 -08:00
Alex Dadgar 80345a2953 resolveConstraintTargets checks for bracket syntax 2016-02-16 10:03:04 -08:00
Alex Dadgar ba0dc9bca9 more vendoring 2016-02-15 18:22:51 -08:00
Alex Dadgar 25eba68015 vendor 2016-02-15 18:12:22 -08:00
Diptanu Choudhury 35ab48bc3d Fixed the go vet to skip vendored files 2016-02-15 17:56:28 -08:00