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
..
2014-06-08 16:14:21 -07:00
2014-06-08 16:02:17 -07:00
2013-12-20 16:39:32 -08:00
2013-12-20 16:39:32 -08:00
2013-12-20 16:39:32 -08:00
2013-12-20 16:39:32 -08:00
2014-05-26 23:44:46 +02:00
2014-05-21 12:31:22 -07:00
2013-12-20 16:39:32 -08:00
2013-12-20 16:39:32 -08:00
2013-12-20 16:39:32 -08:00
2014-05-26 23:44:46 +02:00
2014-06-11 10:53:34 -07:00
2014-06-11 10:53:12 -07:00
2014-05-20 16:25:29 -07:00
2013-12-23 16:20:51 -08:00
2014-05-26 23:44:46 +02:00
2014-01-15 12:34:17 -10:00