Commit graph

3112 commits

Author SHA1 Message Date
Armon Dadgar 9784bb7285 nomad: cache bitmaps to avoid GC pressure 2016-02-20 12:18:22 -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 bdcc922247 nomad: use bitmap for port collision checking 2016-02-20 12:08:27 -08:00
Armon Dadgar 579c0fce7f nomad: adding simple bitmap implementation 2016-02-20 11:56:48 -08:00
Alex Dadgar 70b07f7ad6 Make the client only reserve 512 ports. 2016-02-20 11:43:02 -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
Diptanu Choudhury 91e8800b6b Added more comments 2016-02-19 21:58:44 -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
Diptanu Choudhury 0cc9b76d26 Fixed tests 2016-02-19 15:15:59 -08:00
Alex Dadgar e2a4c4ccc5 Client stores when it receives a task 2016-02-19 14:49:43 -08:00
Diptanu Choudhury 694cecfbf8 Added some docs to the syslog server 2016-02-19 14:20:21 -08:00
Diptanu Choudhury 8096722cad Added some docs to the FileRotator 2016-02-19 14:11:31 -08:00
Diptanu Choudhury 4873118cef Making the log rotator a writer 2016-02-19 14:01:07 -08:00
Diptanu Choudhury 488fd763c8 Renamed packages 2016-02-19 13:08:25 -08:00
Diptanu Choudhury 824df263aa Implemented file rotator 2016-02-19 12:55:34 -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
Diptanu Choudhury ef7cfb1f0b Implemented a custom syslog server 2016-02-17 14:48:25 -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