Commit Graph

16 Commits (f4613dd46697fefde0e2d999ac7ca23e3d020012)

Author SHA1 Message Date
Xiang Li f6a9599eb4 *: rename etcd to etcdserver 2014-09-03 09:20:10 -07:00
Blake Mizerany 0881021e54 all config -> cfg 2014-09-03 09:20:07 -07:00
Blake Mizerany a5eec89113 cfg/ -> conf/ 2014-09-03 09:20:07 -07:00
Blake Mizerany 41ccf13393 config -> cfg
It is extremely confusing to use variables named the same as a package.
Please no longer do this.
2014-09-03 09:20:07 -07:00
Blake Mizerany 18c4be469f move ./http to main 2014-09-03 09:20:07 -07:00
Yicheng Qin 4f10917ce9 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

Original Commit: 084dcb5596
From: philips <brandon@ifup.org>
2014-09-03 09:20:02 -07:00
Xiang Li 061fad12a9 main: do not pass id to etcd 2014-09-03 09:19:57 -07:00
Xiang Li 44836d9099 etcd: move server/usage.go to etcd/v2_usage.go 2014-09-03 09:19:49 -07:00
Xiang Li 18d95b336f main: generate 64bit id 2014-09-03 09:05:14 -07:00
Xiang Li c4e7432ef9 etcd: support cors 2014-09-03 09:05:14 -07:00
Xiang Li 45c6bf80e1 etcd: support etcd server tls 2014-09-03 09:05:14 -07:00
Xiang Li 4181f1b2e1 etcd: support raft tls 2014-09-03 09:05:14 -07:00
Xiang Li c3f8eabac3 etcd: separate raft and client port 2014-09-03 09:05:13 -07:00
Xiang Li 77233b26d0 etcd: support old flags 2014-09-03 09:05:13 -07:00
Xiang Li fc35324ba7 etcd: pass v2 kv api tests 2014-09-03 09:05:13 -07:00
Cenk Alti 1b59eacb72 refactor(main): rename etcd.go to main.go 2014-04-01 12:54:38 -07:00