Commit Graph

15582 Commits

Author SHA1 Message Date
Armon Dadgar 1996deaa18 consul: Fixing struct type 2014-02-05 14:27:24 -08:00
Armon Dadgar 18b4e51bb5 consul: ensure conn pool shutdown is fast 2014-02-05 14:20:18 -08:00
Armon Dadgar e173e7eeff agent: Adding CLI flags 2014-02-05 13:30:40 -08:00
Armon Dadgar 4cee14f58a consul: Health endpoints support blocking queries 2014-02-05 13:30:18 -08:00
Armon Dadgar bd1a140476 consul: Adding a sanity check 2014-02-05 11:13:08 -08:00
Armon Dadgar 89bffaf467 consul: Support blocking queries for the Catalog 2014-02-05 11:10:10 -08:00
Armon Dadgar 1d1dd8f8d2 consul: Enable ListNodes and ListServices to be a blocking query 2014-02-05 11:00:43 -08:00
Armon Dadgar 697d9e7ed8 consul: Cleanup the FSM, running out of file handles 2014-02-05 11:00:10 -08:00
Armon Dadgar 630aa33cf4 consul: Adding indexed versions of return structs 2014-02-05 10:44:28 -08:00
Armon Dadgar ffa7173953 consul: blockingRPC is a helper method for queries that need to block 2014-02-05 10:38:29 -08:00
Armon Dadgar 985e3a0529 consul: State store can return the tables for a query, and watch for changes 2014-02-05 10:37:28 -08:00
Armon Dadgar f0205e1974 consul: Adding BlockingQuery to structs to wait for changes 2014-02-05 10:21:31 -08:00
Armon Dadgar e29b9ca50a consul: Add a guard against deadlock in MDB 2014-02-04 19:04:36 -08:00
Armon Dadgar 3897a23db2 consul: reduce the scope of various transactions 2014-02-04 19:01:32 -08:00
Armon Dadgar 7326a74e65 consul: Notify watchers of changes 2014-02-04 18:45:40 -08:00
Armon Dadgar 420417861a consul: Move notification group from MDBTable into the state store 2014-02-04 18:37:38 -08:00
Armon Dadgar 67a7d25e1c consul: updating state store to associate changes with raft index 2014-02-04 18:33:15 -08:00
Armon Dadgar 49378a0323 agent: Fixing test with new struct 2014-02-04 18:32:17 -08:00
Armon Dadgar 64ba7991f4 consul: Add a NotifyGroup to the MDBTable 2014-02-04 12:32:05 -08:00
Armon Dadgar 9c4d62edd9 consul: Adding a simple notification mechansim 2014-02-04 12:21:30 -08:00
Armon Dadgar 78db2f6475 consul: MDBTable can track a special 'last index' value 2014-02-04 11:11:31 -08:00
Armon Dadgar 231bbb1bd5 consul: Log state store errors 2014-02-03 15:21:56 -08:00
Armon Dadgar 1a5158212c agent: First pass at parsing service and check definition 2014-02-03 15:15:35 -08:00
Armon Dadgar db4bf65e2e consul: client re-uses the last connection if error free 2014-02-03 11:53:04 -08:00
Armon Dadgar be04291fb2 consul: benchmark the ListNodes RPC method 2014-02-01 12:16:33 -08:00
Armon Dadgar e98595cddf consul: Adding some benchmarks to test state store 2014-02-01 12:00:56 -08:00
Armon Dadgar 1eea14c63e command/members: update for serf changes 2014-01-31 12:24:39 -08:00
Armon Dadgar b9e1b2c362 agent: test the register/deregister service endpoint 2014-01-30 15:56:03 -08:00
Armon Dadgar 1a5a91419b agent: Adding tests for agent check endpoints 2014-01-30 15:51:15 -08:00
Armon Dadgar 37cb0bd3f2 agent: First pass at register service and check locally 2014-01-30 15:35:38 -08:00
Armon Dadgar 964147c452 agent: First pass at the easy endpoints 2014-01-30 15:18:05 -08:00
Armon Dadgar 959ea3d5ec agent: Skeleton for HTTP based service/check registration 2014-01-30 14:58:36 -08:00
Armon Dadgar 1eb0a76ee8 agent: Adding methods to register services and checks 2014-01-30 13:39:02 -08:00
Armon Dadgar 438c9537d3 agent: Adding CheckType which is used to wrap either a CheckMonitor or CheckTTL 2014-01-30 13:18:05 -08:00
Armon Dadgar 66b232f53e agent: syncCheck provides the relevant check to prevent a race condition 2014-01-30 13:17:34 -08:00
Armon Dadgar fe0efdfa75 consul: Update for serf 0.4 2014-01-30 13:13:29 -08:00
Armon Dadgar c4f516d034 Adding CheckMonitors and CheckTTLs to agent 2014-01-21 12:05:56 -08:00
Armon Dadgar 410a0de0c8 Seperate localState from Agent 2014-01-21 11:52:25 -08:00
Armon Dadgar 0964285761 Adding LANMembers to the Consul.Interface 2014-01-21 11:52:01 -08:00
Armon Dadgar 7aa278e2ef Allow setting the health check notes 2014-01-20 17:19:20 -10:00
Armon Dadgar 939c381d87 Adding CheckTTL for TTL based checks 2014-01-20 17:12:40 -10:00
Armon Dadgar a1b2a13df5 Testing the CheckMonitor 2014-01-20 16:58:05 -10:00
Armon Dadgar 9e63d1fa32 CheckMonitor runs forever and runs the first check immediately 2014-01-20 16:46:01 -10:00
Armon Dadgar a4201255df Adding basic CheckMonitor to invoke scripts 2014-01-20 16:44:23 -10:00
Armon Dadgar fe27fa191f Accept command line advertise addr 2014-01-20 15:17:12 -10:00
Armon Dadgar a6e4235b96 Adding tests for checks and services endpoints 2014-01-20 15:06:44 -10:00
Armon Dadgar cb7541c7af Exposing the agent checks and services over HTTP endpoints 2014-01-20 15:00:52 -10:00
Armon Dadgar d5d705b931 Adding tests for check anti-entropy 2014-01-20 14:31:02 -10:00
Armon Dadgar 1d3fb0772e Testing anti-entropy of services 2014-01-20 14:22:59 -10:00
Armon Dadgar 28a9598c91 Preventing multiple nodes in bootstrap mode from adding each other as Raft peers 2014-01-20 13:56:29 -10:00