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
Yicheng Qin
8a0266a806
Merge pull request #867 from iand/json-headers
...
fix(server/server.go): /v2/stats endpoints emit application/json content type header
2014-07-07 10:33:27 -07:00
Christoffer Vikström
2338481bb1
server: Flush headers when using wait=true and stream=true
...
Many http clients will missbehave unless they get an initial http-
response, even when long-polling. It also saves the user/client from
having to handle headers on the first action of the watch, but rather
handle the response immediately.
2014-07-03 18:04:36 +02: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
Ian Davis
a288333e6f
fix(server/server.go): /v2/stats endpoints emit application/json content type header
2014-06-30 10:50:43 +01:00
Cole Gleason
097aac79f5
flags: remove MaxClusterSize variable
2014-06-27 10:52:16 -07:00
Brandon Philips
cd820269a6
Merge branch 'master' of github.com:coreos/etcd
2014-06-25 08:57:54 -07:00
Brandon Philips
ac7e6bb002
Merge https://github.com/coreos/template-project
...
Conflicts:
CONTRIBUTING.md
LICENSE
2014-06-25 08:57:02 -07:00
Brandon Philips
4b45cd4110
Merge pull request #869 from sivaramsk/patch-2
...
Update optimal-cluster-size.md
2014-06-25 08:17:07 -07:00
sivaramsk
fb426aec9e
Update optimal-cluster-size.md
2014-06-25 14:20:59 +05:30
Brandon Philips
774cb03f83
server: bump to 0.4.4+git
2014-06-24 10:58:11 -07:00
Brandon Philips
4fb6087f4a
CHANGELOG: release 0.4.4
2014-06-24 10:56:53 -07:00
Yicheng Qin
5524131a9e
Merge pull request #865 from robstrong/hotfix/contentType
...
fix(peer_server) set content type to application/json in admin
2014-06-23 16:31:49 -07:00
Brandon Philips
3efb4d837b
Merge pull request #844 from unihorn/102
...
chore(peer_server): improve log for auto removal
2014-06-23 14:19:48 -07:00
Cole Gleason
20147c5357
flags: alias max-cluster-size to cluster-active-size as deprecated flag
2014-06-23 10:50:40 -07:00
Xiang Li
973bde9a07
feat(get): get from quorum
2014-06-22 21:33:38 -07:00
Rob Strong
494d2c67aa
fix(peer_server) set content type to application/json in admin
2014-06-21 13:13:10 -04:00
Blake Mizerany
fb32a999a6
doc: add note about removal of leader mod
2014-06-19 17:10:34 -07:00
Blake Mizerany
d2f5934aa1
mod: remove defunct leader test
2014-06-19 17:10:34 -07:00
Brandon Philips
4f3fb5a702
Merge pull request #861 from andybons/patch-2
...
Update to Go v1.3
2014-06-19 13:54:34 -07:00
Andrew Bonventre
9f5ec7732e
Update to Go v1.3
...
Now I’m just being OCD about it.
2014-06-19 10:25:52 -04:00
Brandon Philips
774cf34827
CONTRIBUTING: add a section about not emailing maintainers
...
Setup some expectation for etiquette.
2014-06-18 18:38:28 -07:00
Brandon Philips
92df44276d
CONTRIBUTING: remove the subject verbs
...
After talking to a few people on the team we have decided that the
feat/fix/etc tags aren't adding much value. Use a simpler format
instead.
2014-06-18 18:36:00 -07:00
Yicheng Qin
eb00f200d3
Merge pull request #856 from robn/patch-1
...
Add p5-etcd (Perl client lib) to clients-matrix
2014-06-18 10:45:11 -07:00
Jonathan Boulle
38d16775ab
Merge pull request #858 from mikeumus/patch-1
...
docs(readme.md): spelling fix "oon" to "on"
2014-06-17 23:20:23 -07:00
Mikeumus
690fd12b07
docs(readme.md): spelling fix "oon" to "on"
2014-06-18 02:11:32 -04: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
Rob Szumski
e9a21dda4b
Merge pull request #851 from unihorn/103
...
docs(configuration): add cluster configuration
2014-06-17 17:44:51 -07:00
Yicheng Qin
2134036942
Merge pull request #857 from tarnfeld/tools-discodns
...
Added discodns to the list of tools using etcd
2014-06-17 16:10:57 -07:00
Tom Arnfeld
6bd2ee4c49
Added discodns to the list of tools using etcd
2014-06-18 00:08:21 +01:00
Robert Norris
fcd429467e
Add p5-etcd (Perl client lib) to clients-matrix
2014-06-18 08:15:03 +10: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
Jonathan Boulle
3e95bf0fa3
Merge pull request #854 from brianredbeard/moarthings
...
docs(libraries-and-tools.md) Add vulcan proxy and kubernetes
2014-06-16 20:05:43 -07:00
Brian 'Redbeard' Harrington
0d2512cb99
docs(libraries-and-tools.md) Add vulcan proxy and kubernetes
...
Both vulcan proxy (vulcand) and Google kubernetes utilize etcd as
as storage engine.
2014-06-16 20:03:47 -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
Jonathan Boulle
fc2afe1ed2
Merge pull request #847 from pwaller/patch-1
...
docs(production-ready.md): Tiny typo fix
2014-06-13 08:58:33 -07:00
Peter Waller
24a442383b
docs(production-ready.md): Tiny typo fix
2014-06-13 14:41:23 +01:00
Yicheng Qin
f387bf8464
chore(peer_server): improve log for auto removal
2014-06-12 10:02:56 -07:00
Brandon Philips
83b06c0715
Merge pull request #841 from andybons/patch-1
...
Update to Go v1.2.2
2014-06-11 09:43:25 -07:00
Andrew Bonventre
75dc10c39d
Update to Go v1.2.2
2014-06-09 16:03:01 -04:00
Rob Szumski
66acf8a4e9
Merge pull request #839 from jonboulle/jonboulle-master
...
docs(cluster-discovery): fix bad link and confusing port references
2014-06-09 09:47:58 -07:00
Jonathan Boulle
1359d29fa4
docs(cluster-discovery): fix bad link and confusing port references
2014-06-08 23:58:14 -07:00
Brandon Philips
dc1f4adcd0
chore(server): bump to 0.4.3+git
2014-06-07 18:17:54 -07:00
Brandon Philips
9970141f76
chore(server): bump to 0.4.3
2014-06-07 18:17:05 -07:00
Brandon Philips
16c2bcf951
chore(server): go fmt
...
blame me for not running test first.
2014-06-07 18:03:22 -07:00
Brandon Philips
868b7f7902
Merge pull request #836 from philips/reduce-heartbeat-logs
...
fix(server): reduce the screaming heartbeat logs
2014-06-07 17:48:22 -07:00
Brandon Philips
1c958f8fc3
fix(server): reduce the screaming heartbeat logs
...
Currently the only way we know that a peer isn't getting a heartbeat is
an edge triggered event from go raft on every missed heartbeat. This
means that we need to do some book keeping in order to do exponential
backoff.
The upside is that instead of screaming thousands of log lines before a
machine hits the default removal of 30 minutes it is only ~100.
2014-06-07 17:47:10 -07:00
Brandon Philips
dfeecd2537
Merge pull request #835 from unihorn/101
...
chore(server): set DefaultRemoveDelay to 30mins
2014-06-06 17:56:01 -07:00