Commit Graph

1033 Commits

Author SHA1 Message Date
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
Robert Xu c60fd0542a Add expect bootstrap '-expect=n' mode.
This allows for us to automatically bootstrap a cluster of nodes after
'n' number of server nodes join. All servers must have the same 'n' set, or
they will fail to join the cluster; all servers will not join the peer set
until they hit 'n' server nodes.

If the raft commit index is not empty, '-expect=n' does nothing because it
thinks you've already bootstrapped.

Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-16 17:40:33 -04:00
Armon Dadgar 441d613e1b agent: Copy ServerName config 2014-06-13 11:27:44 -07:00
Armon Dadgar 961a00c496 Adding server_name configuration for TLS 2014-06-13 11:10:27 -07:00
Armon Dadgar 59dd6bebe2 Adding the build versions 2014-06-13 10:16:56 -07:00
Armon Dadgar 18063fb5d1 Cutting v0.3.0 2014-06-13 10:11:53 -07:00
Armon Dadgar dc148aeae0 Merge pull request #212 from rbg/master
Seems like we should actually check the reference count.
2014-06-13 09:59:56 -07:00
Armon Dadgar 85ba2f7be5 Merge pull request #210 from robholland/patch-1
Improve clarity of ?keys behaviour.
2014-06-13 09:57:47 -07:00
Robert B Gordon 470d0f1e58 Seems like we should actually check the reference count. 2014-06-13 11:25:01 -05:00
Rob Holland cca6f83b3a Improve clarity of ?keys behaviour.
I read the previous version initially as meaning that it would return a list of keys which have no value set, which I couldn't understand. I think this removes some ambiguity.
2014-06-13 12:20:24 +01:00
Armon Dadgar 3b12ff3377 CHANGELOG updates 2014-06-11 15:39:03 -07:00
Armon Dadgar 1678d8e112 bench: results for 0.3rc 2014-06-11 15:39:03 -07:00
Jack Pearkes 1c9275f37e ui: show service level tags, remove Node.nodeTags 2014-06-11 17:14:20 -04:00
Jack Pearkes 25db24ef75 ui: show tags inline in list of services in node view 2014-06-11 16:54:03 -04:00
Armon Dadgar 57269dd939 Version bump for 0.3 RC 2014-06-11 12:18:47 -07:00
Armon Dadgar c74b42f629 agent: Improve test reliability 2014-06-11 12:01:14 -07:00
Armon Dadgar 6d43b8cb6c website: Clarify upgrade procedures. Fixes #187. 2014-06-11 11:25:55 -07:00
Armon Dadgar 74fa557ba9 website: Update compatibility table for 0.3 2014-06-11 11:08:33 -07:00
Armon Dadgar dc5745cc9c website: Show join help instead of members 2014-06-11 11:08:19 -07:00
Armon Dadgar 4542933139 website: Mention reload command in addition to SIGHUP 2014-06-11 11:03:59 -07:00
Armon Dadgar 2b0f7566e5 website: Document the new reload command 2014-06-11 11:01:36 -07:00
Armon Dadgar 6ff6f3b213 command/reload: Adding new command 2014-06-11 10:58:26 -07:00
Armon Dadgar 8331367707 website: Document reload RPC command 2014-06-11 10:54:36 -07:00
Armon Dadgar f76c769b89 agent: Add reload to RPC clien 2014-06-11 10:53:34 -07:00
Armon Dadgar 590bce9f00 agent: Watch reload channel for trigger 2014-06-11 10:53:28 -07:00
Armon Dadgar 253037a3e7 agent: Adding reload RPC command 2014-06-11 10:53:12 -07:00
Armon Dadgar 8bdfd8c7b2 agent: Set custom syslog facility. Fixes #170. 2014-06-11 10:28:55 -07:00
Armon Dadgar 82c27cb902 agent: Adding SyslogFacility configuration 2014-06-11 10:18:19 -07:00
Armon Dadgar 93f4eb0a0f consul: Start RPC before Raft, wait to accept connecitons 2014-06-11 10:17:58 -07:00
Armon Dadgar c0bda92b34 scripts: Ensure OSX build works on older versions. Fixes #147. 2014-06-11 10:07:38 -07:00
Armon Dadgar 938371ee40 consul: start RPC after fully initialized. Fixes #160 2014-06-11 09:46:44 -07:00
Armon Dadgar ab4e3de185 consul: Avoid network for server RPC. Fixes #148. 2014-06-10 19:12:36 -07:00
Armon Dadgar 1b15415616 testutil: Using the correct RPC struct 2014-06-10 19:12:36 -07:00
Jack Pearkes 4755c73359 Merge pull request #205 from hashicorp/ui-testing
Initial UI tests
2014-06-10 13:37:07 -07:00
Jack Pearkes 22ed633825 ui: add nodeShow test 2014-06-10 16:36:06 -04:00
Jack Pearkes de24b2a91e ui: add some basic tests 2014-06-10 16:36:06 -04:00
Armon Dadgar 8c9ab7ba58 agent: Cleanup handling of defer checks 2014-06-10 10:42:55 -07:00
Armon Dadgar 87373787e2 agent: Fixing merge of CheckUpdateInterval 2014-06-09 21:34:19 -07:00
Armon Dadgar 476339b20c consul: Provide output for serfHealth check. Fixes #176. 2014-06-09 16:07:22 -07:00
Armon Dadgar a88c36bdc1 agent: Prevent anti-entropy from doing early sync of check output 2014-06-09 16:00:25 -07:00
Armon Dadgar cca2f5a545 Merge pull request #204 from hashicorp/f-check-freq
Add deferred sync for check output
2014-06-09 13:03:07 -07:00
Armon Dadgar a2ac2af087 agent: Update config test to handle zero value CheckUpdateInterval 2014-06-09 13:00:32 -07:00
Armon Dadgar 8a0b86df10 agent: leave inSync until the defer runs 2014-06-09 12:57:50 -07:00
Armon Dadgar 33a8beae1e website: Document the check_update_interval config 2014-06-09 12:51:12 -07:00
Armon Dadgar 500bb3931b agent: Defer sync based on CheckUpdateInterval 2014-06-09 12:46:29 -07:00
Armon Dadgar 1b53664879 agent: Allow CheckUpdateInterval to be zero 2014-06-09 12:46:10 -07:00
Armon Dadgar 971d093283 agent: Adding new CheckUpdateInterval config 2014-06-09 12:13:14 -07:00
Jack Pearkes 0f7792bc27 ui: show session name if there is one 2014-06-09 14:59:06 -04:00
Armon Dadgar 922c21a175 agent: Validate datacenter is valid. Fixes #169. 2014-06-09 11:57:15 -07:00
Armon Dadgar 10f3007aa2 consul: Adding support for optional session name 2014-06-09 11:42:28 -07:00