Yicheng Qin
9203f68894
server: add /v2/stats/self
2014-09-03 09:20:07 -07:00
Yicheng Qin
5574b6e224
server: add /v2/stats/leader
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
Blake Mizerany
6f3162af69
Documentation -> doc
2014-09-03 09:20:06 -07:00
Blake Mizerany
b4fd9353cf
remove fixtures
2014-09-03 09:20:06 -07:00
Blake Mizerany
a2b9f9310c
remove pkg/strings
2014-09-03 09:20:06 -07:00
Blake Mizerany
1039f3dcea
remove bench
2014-09-03 09:20:06 -07:00
Blake Mizerany
d77773acb3
server: ignore server in build/tests
2014-09-03 09:20:06 -07:00
Blake Mizerany
afc69b6a74
remove osext
2014-09-03 09:20:06 -07:00
Blake Mizerany
ecc0f97e27
remove go-log
2014-09-03 09:20:06 -07:00
Blake Mizerany
e2798405f6
remove test.sh
2014-09-03 09:20:06 -07:00
Blake Mizerany
7b2474681b
remove pkg/http
2014-09-03 09:20:06 -07:00
Blake Mizerany
0ecbe891b5
remove pkg/btrfs
2014-09-03 09:20:05 -07:00
Blake Mizerany
68b3644ac7
remove vestigial build script
2014-09-03 09:20:05 -07:00
Blake Mizerany
7aa0da7c91
remove go_version
2014-09-03 09:20:05 -07:00
Blake Mizerany
902f1864b1
remove contrib
2014-09-03 09:20:05 -07:00
Blake Mizerany
45dc778fbb
remove goprotobuf
2014-09-03 09:20:05 -07:00
Blake Mizerany
0f1e18f8f0
remove toml dep
2014-09-03 09:20:05 -07:00
Blake Mizerany
65f7833c22
remove go-httpclient
2014-09-03 09:20:05 -07:00
Blake Mizerany
91daf1da86
remove gorilla and its users
2014-09-03 09:20:05 -07:00
Blake Mizerany
7da180cfc5
metrics: remove old metrics
2014-09-03 09:20:05 -07:00
Blake Mizerany
e9a45ae35d
remove goraft
2014-09-03 09:20:05 -07:00
Blake Mizerany
1805c15093
config: remove toml
2014-09-03 09:20:04 -07:00
Xiang Li
622ee60d4f
etcd: remove unused field seeds in participant struct
2014-09-03 09:20:04 -07:00
Xiang Li
cc1b4b7ef0
etcd: no more mutex
2014-09-03 09:20:04 -07:00
Xiang Li
d9ff56d7b7
etcd: cleanup locking in run
2014-09-03 09:20:04 -07:00
Xiang Li
3af8c7da3c
etcd: we should trust people
2014-09-03 09:20:04 -07:00
Yicheng Qin
55c4a3307d
server: cleanup participant stop
2014-09-03 09:20:04 -07:00
Yicheng Qin
20c995c142
server: remove return value of func run
2014-09-03 09:20:04 -07:00
Xiang Li
d8424a15dd
etcd: remove unnecessary StopProposalWaiters function
2014-09-03 09:20:04 -07:00
Yicheng Qin
b5b2031d5b
wal: prune repeative logging
2014-09-03 09:20:04 -07:00
Blake Mizerany
c19932c9ba
raft: prune unnecessary logging - fixes #15
2014-09-03 09:20:04 -07:00
Yicheng Qin
f911196e5f
server: not add node that has been in the cluster
2014-09-03 09:20:04 -07:00
Yicheng Qin
c9edb762b7
server: add TLSHandshakeTimeout for peer hub client
2014-09-03 09:20:03 -07:00
Yicheng Qin
394893ff92
server: not set participant status for peer that points to itself
2014-09-03 09:20:03 -07:00
Yicheng Qin
01fdaea8a6
server: not create new peer if exists
2014-09-03 09:20:03 -07:00
Yicheng Qin
434bf8ca81
server: rewrite keepSetting in TestMultiNodeKillOne
...
It avoids blocking http request.
2014-09-03 09:20:03 -07:00
Yicheng Qin
b1426e2635
server: wait for entries to be committed in TestClusterConfigReload
2014-09-03 09:20:03 -07:00
Xiang Li
659eb5fd2a
wal: make record a protobuf type
2014-09-03 09:20:03 -07:00
Yicheng Qin
d0dc7427dd
server: serve /v2/admin on raftPubAddr
2014-09-03 09:20:03 -07:00
Xiang Li
8e06333d45
raft: make State a protobuf type
2014-09-03 09:20:03 -07:00
Xiang Li
b9e7c20a4c
etcd: make cmd a protobuf type
...
Conflicts:
etcd/v2_apply.go
etcd/v2_store.go
2014-09-03 09:20:03 -07:00
Xiang Li
d6c3ebb1a0
raft: make Info a protobuf type
2014-09-03 09:20:03 -07:00
Yicheng Qin
a191df10a3
server: p.Get -> p.QuorumGet
2014-09-03 09:20:03 -07:00
Yicheng Qin
cd4b35c841
server: add QuorumGet
2014-09-03 09:20:02 -07:00
Yicheng Qin
5ffc0adccc
server: participant.Get -> participant.Store.Get
2014-09-03 09:20:02 -07:00
Yicheng Qin
3529c381cf
server: add TODO for /v2/stats
2014-09-03 09:20:02 -07:00
Yicheng Qin
4b3c3203ff
server: stop timer when exit
2014-09-03 09:20:02 -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: 084dcb5596d52a3a1386d59acced24286137e385
From: philips <brandon@ifup.org>
2014-09-03 09:20:02 -07:00