etcdserver: Calculate IDs based on PeerURLs and --initial-cluster-name

Removes the notion of node name being anything more than advisory or
command-line grouping, and adds checks for bootstrapping the command
line. IDs are consistent if the URLs and cluster name (as a token) are consistent.

Adds a flag --initial-cluster-name and mentions it in clustering.md
Ok, I'll shut up and be patient
On Oct 22, 2014 11:11 AM, "Xiang Li" <notifications@github.com> wrote:

> In etcdserver/member.go:
>
> > @@ -48,17 +49,19 @@ type Member struct {
> >
> >  // newMember creates a Member without an ID and generates one based on the
> >  // name, peer URLs. This is used for bootstrapping.
> > -func newMember(name string, peerURLs types.URLs, now *time.Time) *Member {
> > +func newMember(name string, peerURLs types.URLs, clusterName string, now *time.Time) *Member {
>
> @jonboulle <https://github.com/jonboulle> I am working on it right now. :
> )
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/coreos/etcd/pull/1340/files#r19232745>.
>