Commit Graph

22 Commits (7c1f4a9baf4df77a3317c7d127cf2c53c510a670)

Author SHA1 Message Date
Michael Marineau a7102d491b docs: fix documentation for HTTP read/write timeouts
The documentation for these options has been incorrect ever since their
addition via commit 084dcb55. This broke upgrading a CoreOS stable
cluster to 410.0.0 because the user was using the example TOML config
which contains:

    http_write_timeout = 10

This was silently ignored in the old stable version which predates the
addition of these options. After upgrading etcd began failing with:

    Type mismatch for 'config.Config.http_write_timeout': Expected float
    but found 'int64’.

Original issue: https://github.com/coreos/update_engine/issues/45
2014-09-03 23:36:36 -07:00
Yicheng Qin 629c578cea docs: set snapshot to be true in default configuration
If snapshot is false, it will consume much memory and become rather
slow after several days. Make it on as default.
2014-08-09 09:35:29 -07:00
Matt Parker 70dda950ed Adds units of time to flag docs
This fixes issue #905 based on the comments provided in server/cluster_config.go
2014-07-27 00:39:02 -04:00
Rob Szumski 0639c4c86d fix(docs): name defaults to uuid not hostname 2014-07-11 11:30:05 -07:00
Brandon Philips 084dcb5596 etcd: add a read/write timeout to server
The default is for connections to last forever[1]. This leads to fds
leaking. I set the timeout so high by default so that watches don't have
to keep retrying but perhaps we should set it slower.

Tested on a cluster with lots of clients and it seems to have relieved
the problem.

[1] https://groups.google.com/forum/#!msg/golang-nuts/JFhGwh1q9xU/heh4J8pul3QJ
2014-07-07 11:42:56 -07:00
Cole Gleason ce1e19ae2f Merge pull request #849 from colegleason/max-cluster-size
docs(cluster-size): remove outdated references to flag max-cluster-size
2014-07-02 12:21:14 -07:00
Rob Szumski b31483b2be Merge pull request #850 from robszumski/update-config
feat(docs): add cluster config section
2014-06-17 17:45:50 -07:00
Yicheng Qin e5e759b962 docs(config): refine cluster configuration 2014-06-17 09:31:08 -07:00
Rob Szumski d8a08f53e3 feat(docs): add cluster config section 2014-06-16 22:31:13 -07:00
Yicheng Qin a29f6fb799 docs(configuration): add cluster configuration 2014-06-16 13:58:00 -07:00
Cole Gleason f4f429d4e3 docs(cluster-size): remove outdated refrences to flag max-cluster-size 2014-06-16 09:41:37 -07:00
Kai Davenport e9482167a8 Added the -peer-heartbeat-interval option 2014-05-18 19:22:48 +01:00
Rob Szumski e86fe8e749 feat(docs): document peer timeout flag and env var 2014-03-25 13:07:22 -07:00
Cong Ding dbed0f7d6a fix(Documentation/*): fix various typos 2014-03-03 16:12:15 -08:00
Long Nguyen 1cc60df5f3 fix(Documentation): example of discovery in conf and env vars 2014-02-14 08:59:17 -08:00
Brandon Philips 72514f8ab2 feat(bootstrap): initial working code
This is an initial version of the bootstrap code that seems to work
under the normal circumstances. I need to mock out a server that will
test out all of the error cases now.
2014-02-05 09:27:39 -08:00
Brandon Philips 0e50d9787a feat(*): bootstrap initial commit
Setup the flags, and checkin the docs. Lets do this!
2014-02-05 09:27:39 -08:00
Brandon Philips 7ee7e910eb feat(*): enable snapshots by default
Ben recently added test coverage for snapshots so we should enable it in
etcd. Lets do this.

1d66f6a111
2014-01-23 20:53:22 -08:00
Rob Szumski 5f2d9b38dc fix(docs): reference correct cors flag 2014-01-07 17:03:45 -08:00
Rob Szumski a7eeb01bc8 fix(docs): reference correct cors flag 2014-01-07 17:03:11 -08:00
Brandon Philips ecc96df699 chore(server): remove web url
web URL is not longer used so remove it from tests and configuration
documents.
2014-01-05 20:39:39 -08:00
Brandon Philips e7527ebb45 fix(README): link to the configuration file too 2014-01-03 14:39:23 -08:00