Sean Chittenden
1ec7d6c266
Push down the server list even on node registration and evaluation
...
Be mindful of the cost of taking a snapshot from the statestore and
reuse the snapshot if one has already been taken.
2016-06-10 15:50:11 -04:00
Sean Chittenden
bff57a0dce
Reconcile, clean up, and centralize API version numbers (major and minor).
...
Reduce future confusion by introducing a minor version that is gossiped out
via the `mvn` Serf tag (Minor Version Number, `vsn` is already being used for
to communicate `Major Version Number`).
Background: hashicorp/consul/issues/1346#issuecomment-151663152
2016-06-10 15:50:11 -04:00
Sean Chittenden
438becb28b
Pass the datacenter name in the heartbeat
...
Servers that are part of a different datacenter are added as backup
servers instead of primary servers.
2016-06-10 15:50:11 -04:00
Sean Chittenden
17116fc5a7
Rebalance Nomad client RPCs among different Nomad servers.
...
Implement client/rpc_proxy.RpcProxy.
2016-06-10 15:50:11 -04:00
Sean Chittenden
dc28ab0cb5
Speling police
2016-05-15 09:41:34 -07:00
Alex Dadgar
ea08b45c70
Always trigger evals on drain update
2016-04-18 18:43:52 -07: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
Armon Dadgar
5a9c7f7002
Fixing comment
2016-02-21 21:03:24 -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
Alex Dadgar
2d98c0eadd
Fix double pull with introduction of AllocModifyIndex
2016-02-01 15:43:59 -08:00
Alex Dadgar
f8b99e7da3
Merge pull request #722 from iverberk/f-double-alloc-update
...
Add new RPC call to fetch a lightweight list of allocation information.
2016-01-30 16:39:09 -08:00
Ivo Verberk
679387fe23
Add new RPC call to fetch a lightweight list of allocation information.
2016-01-29 15:29:52 +01:00
Alex Dadgar
d646903a47
ComputedNode classes
2016-01-26 10:08:01 -08:00
Ivo Verberk
7838b2a57c
Refactoring
...
* Reverted changes to get methods
* Added prefix query parameter
* Updated node status to use prefix based searching
* Fixed tests
* Removed truncation logic
2015-12-22 23:44:33 +01:00
Ivo Verberk
07bd2f6ca5
Some comment corrections and additions
2015-12-20 18:10:48 +01:00
Ivo Verberk
33f73a1e8e
Short identifiers functionality
...
* Use go-memdb prefix indexer for lookups
* Add Job lookups
* Update state store with new ByIDPrefix get methods
* Call new methods when exact lookup fails or is not applicable
2015-12-19 21:55:28 +01:00
Ryan Uber
ff37110deb
nomad: more tests
2015-10-29 19:14:21 -07:00
Ryan Uber
09c74acc36
nomad: support blocking queries on single nodes
2015-10-29 15:48:44 -07:00
Ryan Uber
6b7ca19a76
nomad: export watcher to share between rpc and state store
2015-10-29 14:47:39 -07:00
Ryan Uber
a4ee8929e3
nomad: unify watcher inputs for reusability
2015-10-29 11:59:15 -07:00
Ryan Uber
faab2495ee
nomad: test all node watch triggers
2015-10-28 12:29:06 -07:00
Ryan Uber
2c4735fbcf
nomad: support blocking queries on nodes
2015-10-28 11:25:35 -07:00
Alex Dadgar
25c2c83d6f
Revert "dont hard code scheduler type name"
...
This reverts commit fb0e0dfc2be596ad435a00a2e131a2000146b1f1.
2015-10-23 16:32:45 -07:00
Alex Dadgar
5b0a9b2469
dont hard code scheduler type name
2015-10-23 16:31:45 -07:00
Alex Dadgar
3195b25aba
Also create evals from Down -> Ready
2015-10-21 17:58:54 -07:00
Alex Dadgar
40fa9cbb89
Do a full loop of the sys-job iterator before the fast-path check
2015-10-20 17:11:57 -07:00
Alex Dadgar
fcee850c2b
Cleanup system job loop
2015-10-20 13:02:55 -07:00
Alex Dadgar
2314bd7c2c
Add scheduler type index to jobs table; create evals for system jobs on node init to ready transition
2015-10-20 10:57:53 -07:00
Armon Dadgar
ea0795995d
Use a single implementation of GenerateUUID
2015-09-07 15:23:03 -07:00
Armon Dadgar
8bedd3769c
nomad: unifying the state store API
2015-09-06 20:56:38 -07:00
Armon Dadgar
0702f17989
Rename client endpoint to node endpoint
2015-09-06 20:31:32 -07:00