2819 Commits

Author SHA1 Message Date
Thomas Dmytryk
af01e11a5b Added link for etcd-backup 2014-09-23 17:07:17 -07:00
Jonathan Boulle
f34e37f68f Merge pull request #1134 from jonboulle/1134_flaky_test
flaky test TestSyncTriggerDeleteExpriedKeys
2014-09-23 16:13:19 -07:00
Jonathan Boulle
e97134e767 etcdserver: eliminate race in sync test 2014-09-23 15:49:20 -07:00
Jonathan Boulle
b85ad9bbc2 Merge pull request #1082 from jonboulle/1082_x_etcd_index
X-Etcd-Index returns the node's modifiedIndex
2014-09-23 15:14:21 -07:00
Brian Waldon
290b3915c2 Merge pull request #1144 from bcwaldon/TLS
Simplify TLS testing in transport pkg
2014-09-23 14:55:42 -07:00
Xiang Li
03152004d7 Merge pull request #1145 from coreos/fix_panic
raft: node ignores unexpected local messages receiving from network
2014-09-23 14:11:56 -07:00
Xiang Li
25c2768b8f raft: node ignores unexpected local messages receiving from network 2014-09-23 13:50:43 -07:00
Yicheng Qin
dcdc7913c0 Merge pull request #1100 from unihorn/129
raft: add Configure
2014-09-23 13:50:10 -07:00
Brian Waldon
a299e92dfa transport: fake out certificate parser
The work being done in the tests is completely wasted, as we do not
need to test the udnerlying x509 library. Faking out the parser function
allows the tests to run much faster without having to carry massive
fixtures, either.
2014-09-23 13:49:32 -07:00
Brian Waldon
4d68c933d1 Merge pull request #1142 from bcwaldon/TLS
TLS: peer server/transport and proxy transport
2014-09-23 13:19:13 -07:00
Yicheng Qin
c6cb635e01 etcdserver: refine comments of config change tests 2014-09-23 13:03:30 -07:00
Brian Waldon
4649a28097 transport: exercise TLSInfo.ClientConfig & ServerConfig 2014-09-23 12:52:59 -07:00
Brian Waldon
6ac4aea2bf transport: test TLSInfo.Empty() 2014-09-23 12:19:32 -07:00
Brian Waldon
3c4b155395 transport: spot-check NewTransport 2014-09-23 12:14:50 -07:00
Yicheng Qin
bc7b0108dc raft: ConfigChange -> ConfChange 2014-09-23 12:02:44 -07:00
Brian Waldon
73504dca41 proxy: determine scheme based on TLSClientConfig 2014-09-23 11:01:58 -07:00
Brian Waldon
1ea3197feb proxy: pass addrs and scheme into newDirector 2014-09-23 11:01:55 -07:00
Brian Waldon
99e9f561ee etcdserver: add Peers.Addrs 2014-09-23 10:56:41 -07:00
Brian Waldon
b94d0281d4 etcd: use TLS in proxy transport 2014-09-23 10:19:01 -07:00
Brian Waldon
10220335f7 etcdserver: determine scheme based on TLSClientConfig 2014-09-23 10:14:12 -07:00
Brian Waldon
e19b0442f8 etcdserver: pass scheme into send 2014-09-23 10:14:11 -07:00
Brian Waldon
fb7968d704 etcdserver: Peers.Pick returns just an addr 2014-09-23 10:09:34 -07:00
Brian Waldon
27813599a1 etcd: wire up peer TLS flags 2014-09-23 10:03:17 -07:00
Brian Waldon
342ea18239 transport: build TLS config in NewTransport 2014-09-23 10:03:17 -07:00
Brian Waldon
e880dd41f2 transport: add TLSInfo.ClientConfig 2014-09-23 10:03:16 -07:00
Brian Waldon
0c7351c309 etcd: manually construct HTTP client for peer communication 2014-09-23 10:03:14 -07:00
Brian Waldon
5470a6d3d6 etcdserver: pass http client into Sender 2014-09-23 10:02:23 -07:00
Brian Waldon
db12e5704b transport: no need to set RootCAs in TLSInfo.ServerConfig 2014-09-23 09:04:26 -07:00
Brian Waldon
b754406f10 Merge pull request #1140 from bcwaldon/TLS
client server TLS
2014-09-23 08:04:50 -07:00
Xiang Li
e89f6efd20 Merge pull request #1122 from coreos/discovery
discovery
2014-09-22 23:48:05 -07:00
Yicheng Qin
d92931853e raft: Config -> ConfigChange
Configure -> ProposeConfigChange
AddNode, RemoveNode -> ApplyConfigChange
2014-09-22 23:39:53 -07:00
Jonathan Boulle
87df94dbd4 Merge pull request #1130 from jonboulle/1130_wal_log
wal logs saveState too frequently
2014-09-22 23:20:26 -07:00
Xiang Li
08ebb05335 discovery: add a overfull case for waitNodes 2014-09-22 19:51:31 -07:00
Xiang Li
fdfaf07c46 discovery: address comments 2014-09-22 19:51:31 -07:00
Xiang Li
a35df0ad7c discovery: remove redundant comment for createSelf 2014-09-22 19:51:31 -07:00
Xiang Li
17068c5110 discovery: key config -> key _config 2014-09-22 19:51:31 -07:00
Xiang Li
6081311db5 discovery: store size inside /[cluster]/config 2014-09-22 19:51:31 -07:00
Xiang Li
00d1daaf1e discovery: add tests for sortableNodes 2014-09-22 19:51:31 -07:00
Xiang Li
2fd5a9863b discovery: add d.selfKey() 2014-09-22 19:51:31 -07:00
Xiang Li
b8eb21c027 discovery: add fast path 2014-09-22 19:51:31 -07:00
Xiang Li
2b623cf0fa discovery: init commit 2014-09-22 19:51:31 -07:00
Jonathan Boulle
cf4af47f7e wal: remove logging messages
These are noisy and unhelpful by default. We can re-add if at some point
we reintroduce debugging/multiple log levels.
2014-09-22 19:08:47 -07:00
Jonathan Boulle
5441c6aa54 etcdserver: correct X-Etcd-Index header
This adds an EtcdIndex field to store.Event and uses that as the header
instead of the node's modifiedIndex. To facilitate this in a non-racy
way, we set the EtcdIndex while holding the lock.
2014-09-22 18:56:12 -07:00
Brian Waldon
f2d3d90b60 etcd: wire up client TLS flags 2014-09-22 17:58:31 -07:00
Brian Waldon
17459c7bfc transport: wrap net.Listener with TLSInfo 2014-09-22 17:58:30 -07:00
Brian Waldon
a782a1a7d1 etcd: manually construct listeners 2014-09-22 17:57:44 -07:00
Brandon Philips
a4cca35e9d Merge pull request #1137 from philips/gofmt-hack
test: stop running gofmt ./
2014-09-22 17:28:48 -07:00
Brandon Philips
fd48f3f2a4 test: stop running gofmt ./
gofmt ./ will recursively check the .git directory. So use *.go for
gofmt instead
2014-09-22 17:28:31 -07:00
Yicheng Qin
ec8f493fde raft: refine comments for Configure 2014-09-22 15:44:47 -07:00
Yicheng Qin
dc36ae7058 raft: use pb.Config instead of []byte for Configure 2014-09-22 15:44:47 -07:00