Alex Dadgar
|
59b0a7b3f6
|
Merge pull request #1256 from hashicorp/b-node-gc
Improve partial garbage collection of allocations
|
2016-06-11 15:41:00 -07:00 |
Sean Chittenden
|
2968545201
|
Walk the DCs from nearest to most remote, no limit on the search.
|
2016-06-11 18:23:06 -04:00 |
Sean Chittenden
|
917766a3df
|
Prefer `%+q` over `%q` in log messages.
|
2016-06-11 18:17:20 -04:00 |
Sean Chittenden
|
445783889b
|
Remove default values and use nil for the executor. Much better.
|
2016-06-11 17:52:09 -04:00 |
Diptanu Choudhury
|
0fad17a1a9
|
Merge pull request #1258 from hashicorp/fix-statsd-metric-type
Emitting client resource usage metrics as guages instead of k/v pairs
|
2016-06-11 13:18:52 -07:00 |
Diptanu Choudhury
|
fd60cfd585
|
Emitting client resource usage metrics as guages instead of k/v pairs
|
2016-06-11 22:17:32 +02:00 |
Alex Dadgar
|
5797534d16
|
Don't require slash for node stats
|
2016-06-11 13:15:57 -07:00 |
Diptanu Choudhury
|
7943ab4b33
|
Merge pull request #1257 from hashicorp/fix-docker-wait
Using a different client for collecting stats and waiting on containers
|
2016-06-11 12:51:38 -07:00 |
Diptanu Choudhury
|
19f4adbcf1
|
Using a different client for collecting stats and waiting on containers
|
2016-06-11 20:37:29 +02:00 |
Diptanu Choudhury
|
1dfe98d17d
|
Merge pull request #1253 from hashicorp/fix-ticks-task
Calculating the cpu ticks in nomad client
|
2016-06-11 08:33:12 -07:00 |
Diptanu Choudhury
|
7fb507e810
|
Moving the clkspeed code to helper
|
2016-06-11 17:31:49 +02:00 |
Sean Chittenden
|
f891fa0ec8
|
Perform a nil-check for Executor's consulServices.
Executors can `Shutdown()` before calling `SyncServices()`.
|
2016-06-10 23:43:54 -04:00 |
Sean Chittenden
|
bbd8dfa798
|
goling(1) compliance pass (e.g. Rpc* -> RPC)
|
2016-06-10 23:38:28 -04:00 |
Sean Chittenden
|
bc771d35df
|
Query for the Nomad service across multiple Consul datacenters.
|
2016-06-10 23:05:14 -04:00 |
Sean Chittenden
|
d433001f04
|
Expose rpcproxy's `ServerEndpoint()` constructor, `newServer()` as `NewServerEndpoint()`
|
2016-06-10 22:14:03 -04:00 |
Alex Dadgar
|
60629b7590
|
remove vet
|
2016-06-10 18:46:23 -07:00 |
Alex Dadgar
|
98bf249625
|
Partial GC allocations
|
2016-06-10 18:32:37 -07:00 |
Diptanu Choudhury
|
59540c3e93
|
Extracted a method for getting clock speed
|
2016-06-11 02:07:28 +02:00 |
Diptanu Choudhury
|
f94f89b6d7
|
Pruning out pids which are no longer present
|
2016-06-11 01:40:52 +02:00 |
Diptanu Choudhury
|
0a9a3918d6
|
Not reset-ing the list of pids if they don't change
|
2016-06-11 01:19:50 +02:00 |
Alex Dadgar
|
66ac4fa6c0
|
Merge pull request #1255 from hashicorp/b-infinite-requeue
Only unblock if missed class was added after eval snapshot index
|
2016-06-10 16:15:26 -07:00 |
Alex Dadgar
|
7ccc7d20a0
|
test
|
2016-06-10 15:48:59 -07:00 |
Alex Dadgar
|
b064b392fc
|
Only unblock if missed class was added after eval snapshot index
|
2016-06-10 15:24:06 -07:00 |
Diptanu Choudhury
|
ea65fd7925
|
Checking in the stats helper package
|
2016-06-10 23:46:33 +02:00 |
Diptanu Choudhury
|
c38a6fb3c5
|
Implementing the total ticks per task for the docker driver
|
2016-06-10 23:33:25 +02:00 |
Diptanu Choudhury
|
01054db4fa
|
Calculating total ticks consumed in the nomad client
|
2016-06-10 23:14:33 +02:00 |
Alex Dadgar
|
f545c3328a
|
Merge pull request #1254 from hashicorp/b-parse-artifact-options
Don't create options unless necessary
|
2016-06-10 14:08:00 -07:00 |
Sean Chittenden
|
948663c89a
|
Fix another unit test not expecting ServiceID
|
2016-06-10 16:50:35 -04:00 |
Sean Chittenden
|
5b0c2bf282
|
Restore old behavior and have AddPrimaryServer() return a pointer to the existing server (vs nil when the server already exists).
|
2016-06-10 16:46:49 -04:00 |
Diptanu Choudhury
|
d9d5a95160
|
Using humanize to convert memory usage to MB
|
2016-06-10 22:24:33 +02:00 |
Diptanu Choudhury
|
2d3798b076
|
Calculating the cpu ticks in nomad client
|
2016-06-10 22:22:32 +02:00 |
Sean Chittenden
|
df896c6ef2
|
Prevent duplicate servers being added in AddPrimaryServer.
This logic was already present elsewhere and was missed in this one
place.
|
2016-06-10 15:55:27 -04:00 |
Sean Chittenden
|
d99467ef5e
|
Always create a consul.Syncer. Use a default Consul Config if necessary.
|
2016-06-10 15:55:27 -04:00 |
Sean Chittenden
|
f6a0459ae5
|
Always create a consul.Syncer. Use a default Consul Config if necessary.
|
2016-06-10 15:55:27 -04:00 |
Sean Chittenden
|
e69232dd73
|
Commit miss, bump to 5s
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
ca66f0ee9a
|
Remove useless statement
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
03846fb754
|
Rename listLock to activatedListLock
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
4c9067310b
|
Nomad does not use Serf at the client level. Use a hard lock.
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
26b1e826d7
|
golint(1) police
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
974c9927c7
|
Formatting nit: remove brackets
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
1371ef85f5
|
Prefix all log entries in client/rpcproxy with client.rpcproxy
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
3d64daafd9
|
Fold RaftPeers() into its only call site now
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
009495c18a
|
Style nit: remove `var` block
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
0ba1da9c9c
|
Always pass in a snapshot before calling constructNodeServerInfoResponse()
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
1df6fc253f
|
Rename `updateNodeUpdateResponse` to `constructNodeServerInfoResponse`
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
c92306f020
|
Stash client and server registration behind consul.auto_register
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
68aebff84d
|
Only return the Client's server addresses, never mix-in server peers
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
f139d0c68b
|
Properly guard consulPullHeartbeatDeadline behind heartbeatLock
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
8dc16ad5e3
|
Move RPCProxy.New() adjacent to its struct definition
|
2016-06-10 15:54:39 -04:00 |
Sean Chittenden
|
447fe59fd2
|
Hand wave over the syncer tests atm, these will be fixed shortly.
|
2016-06-10 15:54:39 -04:00 |