2787 Commits

Author SHA1 Message Date
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
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
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
Brian Waldon
ceab948831 Merge pull request #1131 from bcwaldon/1129
etcdserver: init time.Time only if Expiration > 0
2014-09-22 15:39:32 -07:00
Brian Waldon
7d1126fb35 etcdserver: init time.Time only if Expiration > 0
golang's concept of "zero" time does not align with the zero value of
a unix timestamp. Initializing time.Time with a unix timestamp of 0
makes time.Time.IsZero fail. Solve this by initializing time.Time only
if we care about the time.
2014-09-22 15:31:31 -07:00
Jonathan Boulle
9711e70980 Merge pull request #1132 from jonboulle/fix_store
store: fix recursive/dir arguments
2014-09-22 14:54:37 -07:00
Jonathan Boulle
e08df4c8d2 store: fix recursive/dir arguments 2014-09-22 14:44:01 -07:00
Jonathan Boulle
34380ab096 Merge pull request #1013 from jonboulle/1013_cors
Add CORS support
2014-09-22 11:50:03 -07:00
Brian Waldon
e27b80643d Merge pull request #1109 from coreos/client
min client for discovery
2014-09-21 10:31:52 -07:00
Brian Waldon
49cc76d33b client: min client for discovery 2014-09-21 10:29:52 -07:00
Yicheng Qin
0335422e81 Merge pull request #1098 from unihorn/131
fix sync tests
2014-09-20 17:47:31 -07:00
Yicheng Qin
8ba801ec06 etcdserver: fix sync tests
This is to fix possible testing failures caused by sync tests.

Changes:
1. Get rid of time sleep operations, which introduces uncertainty.
2. Use fake Store.
2014-09-20 17:41:30 -07:00
Yicheng Qin
ddfcb67ce3 Merge pull request #1118 from unihorn/133
etcdserver: add TestRecvSnapshot
2014-09-20 17:10:01 -07:00
Yicheng Qin
fac38aad33 etcdserver: add TestRecvSlowSnapshot 2014-09-19 15:09:04 -07:00
Jonathan Boulle
1a36b53f14 main: add CORS support 2014-09-19 14:58:35 -07:00
Yicheng Qin
b8e59a3c6a etcdserver: not push ready to readyNode automatically 2014-09-19 14:40:11 -07:00
Yicheng Qin
f2ebd64a1b *: add testutil pkg 2014-09-19 14:32:38 -07:00
Yicheng Qin
4eb156a324 Merge pull request #1104 from unihorn/132
etcdserver: add TestDoBadLocalAction
2014-09-19 09:30:34 -07:00
Yicheng Qin
d5988c3ec2 etcdserver: add TestDoBadLocalAction 2014-09-19 09:22:26 -07:00
Yicheng Qin
44ab66d858 etcdserver: add TestRecvSnapshot 2014-09-18 23:19:00 -07:00
Brandon Philips
da9956df11 Merge pull request #1107 from bcwaldon/Procfile
Isolate ./build from environment
2014-09-18 22:12:28 -07:00
Brian Waldon
24aa4d9bd9 Merge pull request #1117 from bcwaldon/prevExist
*: s/prevExists/prevExist/
2014-09-18 21:45:37 -07:00
Brian Waldon
91003cb994 *: s/prevExists/prevExist/ 2014-09-18 21:25:08 -07:00
Jonathan Boulle
517e4271e1 Merge pull request #1113 from jonboulle/unix
main: add address validation
2014-09-18 16:38:42 -07:00
Jonathan Boulle
f0789e7349 main: add address validation for bind-addr flag 2014-09-18 16:38:14 -07:00
Brian Waldon
6449387ccb Merge pull request #1110 from bcwaldon/proxy-readonly
Readonly proxy mode
2014-09-18 15:08:46 -07:00
Brian Waldon
98221cf6c0 Merge pull request #1112 from bcwaldon/update-link
CONTRIBUTING: update link to style guide
2014-09-18 15:06:59 -07:00
Brian Waldon
6e782b0e63 etcd: add -proxy=readonly 2014-09-18 15:05:33 -07:00
Brian Waldon
fd1f46313a proxy: add readonly handler 2014-09-18 15:05:30 -07:00