James Phillips
472f1bd63e
Adds router into RPC paths with work in progress on coordinates.
2017-03-16 16:42:18 -07:00
James Phillips
376fdde779
Changes pool's dial address to a string and adds a timeout.
2017-03-16 16:42:18 -07:00
Kyle Havlovitz
51b11cd344
Fix an issue with changing server IDs and add a few UX enhancements around autopilot features
2017-03-15 16:09:55 -07:00
Kyle Havlovitz
81c7a0299e
Add state store table and endpoints for autopilot
2017-02-23 20:32:13 -08:00
Kyle Havlovitz
b20fd222f6
Add raft version 2/3 compatibility
2017-02-22 12:53:32 -08:00
Kyle Havlovitz
c0dd5b65b6
Add retry with backoff to initial bootstrap checks ( #2561 )
2016-12-01 17:05:02 -05:00
Kyle Havlovitz
1b204eb88d
Disallow -bootstrap-expect flag in dev mode ( #2464 )
2016-11-03 01:54:43 -04:00
James Phillips
79aec1b34b
Tweaks comment to be more correct.
2016-08-31 23:54:53 -07:00
James Phillips
c8b184cfd2
Adds check that aborts bootstrap mode if there's an existing cluster.
2016-08-31 21:25:56 -07:00
James Phillips
052cbe3a7d
Adds peers back into bootstrap log, makes initial case consistent.
2016-08-09 11:52:41 -07:00
James Phillips
b32578ccab
Integrates Consul with new version of Raft library.
2016-08-08 19:19:17 -07:00
Sean Chittenden
7cdc056ca5
Rename server_details package to agent
2016-03-29 17:39:19 -07:00
Sean Chittenden
0925b26250
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
33e3505aea
Adds endpoints for raw network coordinates.
2015-10-23 15:23:01 -07:00
Dale Wijnand
5a28ebcaa3
Fix a bunch of typos.
2015-09-15 13:22:08 +01:00
Sam Boyer
40478cb534
Condense switch fallthroughs into expr lists
2015-05-26 21:30:14 -04:00
Armon Dadgar
b4531164e9
consul: updating for Raft API changes
2015-05-08 11:35:52 -07:00
Emil Hessman
c9333b1b9b
Fix missing arguments
2014-11-01 22:56:48 +01:00
Armon Dadgar
be78e355de
consul: Adding user event handler for callbacks
2014-08-26 19:04:07 -07:00
Armon Dadgar
1c341e6766
consul: expose UserEvent from Serf
2014-08-26 18:50:03 -07:00
Armon Dadgar
924e4bc7f1
Rename Expect to BootstrapExpect. Fixes #223 .
2014-06-19 17:08:55 -07:00
Armon Dadgar
92b6e947dd
consul: Minor cleanups
2014-06-18 16:15:28 -07:00
Robert Xu
7b456a6d6d
Minor cleanup to logic and testsuite.
...
Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-18 18:47:05 -04:00
Robert Xu
bc4a4fe09b
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
d737a2204a
consul: Pass protocol version for leader forwarding
2014-05-28 16:32:24 -07:00
Armon Dadgar
a31a19040e
consul: Server processes local Serf join
2014-05-28 16:32:24 -07:00
Armon Dadgar
3a854b5952
consul: Store the protocol version for a server
2014-05-28 16:32:24 -07:00
Armon Dadgar
02fa6e9d96
consul: Do not fire ServerUp on WAN node join
2014-04-23 12:20:54 -07:00
Armon Dadgar
ad8e25917b
consul: Handle reaping of serf members
2014-03-20 12:51:49 -07:00
Armon Dadgar
7d4e099566
consul: Ignore new Serf events
2014-03-12 12:46:14 -07:00
Armon Dadgar
7123c6315b
consul: Use serf event to announce new leader
2014-02-19 12:36:27 -08:00
Armon Dadgar
c1637b4978
agent: Adding server up callback to make state sync faster
2014-02-07 12:11:34 -08:00
Armon Dadgar
01c73ee9ae
change isConsulServer to parse flags
2014-01-20 13:39:07 -10:00
Armon Dadgar
cf29019545
Simplify Raft peer adds using only reconciliation
2014-01-10 12:55:55 -08:00
Armon Dadgar
4c992a88c1
Log cleanup
2014-01-10 11:06:11 -08:00
Armon Dadgar
c0029c6967
First pass at Serf reconciliation
2014-01-09 15:49:09 -08:00
Armon Dadgar
b4ecf22106
Refactor isConsulServer into util
2013-12-19 14:37:54 -08:00
Armon Dadgar
4a2230bfc8
Remove unused methods
2013-12-11 16:43:29 -08:00
Armon Dadgar
d4476e3df6
Track remote consul servers
2013-12-11 16:24:34 -08:00
Armon Dadgar
0ade6bb750
consul: abandon join on shutdown or member fail
2013-12-09 16:25:24 -08:00
Armon Dadgar
207171f264
consul: Adding tons of shit, leave test
2013-12-09 16:05:15 -08:00
Armon Dadgar
c4a4b9df34
consul: type safe event handlers
2013-12-09 15:29:44 -08:00
Armon Dadgar
9e8cdb6c7a
consul: Add+test JoinLAN/JoinWAN
2013-12-06 17:18:09 -08:00
Armon Dadgar
41b3ca7da9
consul: refactor into more files
2013-12-06 16:54:33 -08:00