Sean Chittenden
5ae7835988
Rename server_details package to agent
2016-03-29 17:39:19 -07:00
Sean Chittenden
f3a69c939d
Refactor consul.serverParts into server_details.ServerDetails
...
This may be short-lived, but it also seems like this is going to lead us down a path where ServerDetails is going to evolve into a more powerful package that will encapsulate more behavior behind a coherent API.
2016-03-23 16:15:47 -07:00
James Phillips
a2bcef00a0
Adds endpoints for raw network coordinates.
2015-10-23 15:23:01 -07:00
Dale Wijnand
c5168e1263
Fix a bunch of typos.
2015-09-15 13:22:08 +01:00
Sam Boyer
bdc5983463
Condense switch fallthroughs into expr lists
2015-05-26 21:30:14 -04:00
Armon Dadgar
2ca41b15df
consul: updating for Raft API changes
2015-05-08 11:35:52 -07:00
Emil Hessman
0222ed9eb9
Fix missing arguments
2014-11-01 22:56:48 +01:00
Armon Dadgar
3a1d686444
consul: Adding user event handler for callbacks
2014-08-26 19:04:07 -07:00
Armon Dadgar
b1cf52db01
consul: expose UserEvent from Serf
2014-08-26 18:50:03 -07:00
Armon Dadgar
80b86c9ee9
Rename Expect to BootstrapExpect. Fixes #223 .
2014-06-19 17:08:55 -07:00
Armon Dadgar
406d19f483
consul: Minor cleanups
2014-06-18 16:15:28 -07:00
Robert Xu
fff6546c75
Minor cleanup to logic and testsuite.
...
Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-18 18:47:05 -04:00
Robert Xu
a2fea2ce55
Utilise new raft.SetPeers() method, move expect logic to leader.go.
...
This way, we don't use EnableSingleMode, nor cause chaos adding peers.
Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-18 12:03:30 -04:00
Armon Dadgar
313f79913e
consul: Pass protocol version for leader forwarding
2014-05-28 16:32:24 -07:00
Armon Dadgar
d857c63f41
consul: Server processes local Serf join
2014-05-28 16:32:24 -07:00
Armon Dadgar
589105eee4
consul: Store the protocol version for a server
2014-05-28 16:32:24 -07:00
Armon Dadgar
08cba55ab3
consul: Do not fire ServerUp on WAN node join
2014-04-23 12:20:54 -07:00
Armon Dadgar
277c31d813
consul: Handle reaping of serf members
2014-03-20 12:51:49 -07:00
Armon Dadgar
a421782901
consul: Ignore new Serf events
2014-03-12 12:46:14 -07:00
Armon Dadgar
f9da9fe1b5
consul: Use serf event to announce new leader
2014-02-19 12:36:27 -08:00
Armon Dadgar
7534346103
agent: Adding server up callback to make state sync faster
2014-02-07 12:11:34 -08:00
Armon Dadgar
3e6787511e
change isConsulServer to parse flags
2014-01-20 13:39:07 -10:00
Armon Dadgar
2030b2288d
Simplify Raft peer adds using only reconciliation
2014-01-10 12:55:55 -08:00
Armon Dadgar
c5e2004be9
Log cleanup
2014-01-10 11:06:11 -08:00
Armon Dadgar
9d96ce1107
First pass at Serf reconciliation
2014-01-09 15:49:09 -08:00
Armon Dadgar
ed0af0ad42
Refactor isConsulServer into util
2013-12-19 14:37:54 -08:00
Armon Dadgar
aee98291a9
Remove unused methods
2013-12-11 16:43:29 -08:00
Armon Dadgar
4cfe5179ba
Track remote consul servers
2013-12-11 16:24:34 -08:00
Armon Dadgar
e7f4a84841
consul: abandon join on shutdown or member fail
2013-12-09 16:25:24 -08:00
Armon Dadgar
761197575c
consul: Adding tons of shit, leave test
2013-12-09 16:05:15 -08:00
Armon Dadgar
9c4583c0e3
consul: type safe event handlers
2013-12-09 15:29:44 -08:00
Armon Dadgar
af9176bca0
consul: Add+test JoinLAN/JoinWAN
2013-12-06 17:18:09 -08:00
Armon Dadgar
72e93a7432
consul: refactor into more files
2013-12-06 16:54:33 -08:00