Skip to content

Commit

Permalink
Remove [meta].peers config option
Browse files Browse the repository at this point in the history
Adding a new peer must happen via the -join flag.
  • Loading branch information
jwilder committed Aug 12, 2015
1 parent 5dfd252 commit 17583f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Config struct {
Dir string `toml:"dir"`
Hostname string `toml:"hostname"`
BindAddress string `toml:"bind-address"`
Peers []string `toml:"peers"`
Peers []string `toml:"-"`
RetentionAutoCreate bool `toml:"retention-autocreate"`
ElectionTimeout toml.Duration `toml:"election-timeout"`
HeartbeatTimeout toml.Duration `toml:"heartbeat-timeout"`
Expand Down

2 comments on commit 17583f7

@mirwan
Copy link

@mirwan mirwan commented on 17583f7 Aug 21, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Does this mean that starting a new cluster can only be achieved by starting a first node and then joining the others (by using the -join flag), and not in the way mentionned in https://influxdb.com/docs/v0.9/concepts/clustering.html ?

@beckettsean
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mirwan that is correct. When 0.9.3 is the official release the documentation will be updated.

Please sign in to comment.