David Fisher
9825976e06
Merge upstream
2013-09-26 13:05:09 -07:00
David Fisher
0b37c808dd
Fix nil logger in inits
...
Move the logger initialization out of init in util.go and into the
variable initializer. This ensures that it will be run before any of
the other init functions.
2013-09-25 15:39:25 -07:00
David Fisher
a121cbb721
Switch from golang log to coreos/go-log
2013-09-25 13:43:16 -07:00
Xiang Li
8d245b546f
cleanup
2013-09-12 13:17:19 -04:00
Xiang Li
44e8c234ed
merge master
2013-09-07 14:47:55 -04:00
Brandon Philips
bfeed190ea
feat(etcd): Default server listen and client listen to advertised IPs
...
Map the advertised IP to the listening IP by default. This will make
things nicer for the user.
2013-08-31 22:28:25 -07:00
Brandon Philips
351e84aece
feat(etcd): add listen host parameter
...
this separates out the listening IP from the advertised IP. This is
necessary so that we can hit etcd on 127.0.0.1 but also advertise the
right IP to the rest of the cluster.
2013-08-23 13:07:15 -07:00
Xiang Li
a97590ff50
basic stats
2013-08-19 17:19:45 -07:00
Xiang Li
981351c9d9
use type inheritance
2013-08-17 08:30:31 -07:00
Xiang Li
ca4b5815f7
make raft and etcd server
2013-08-17 08:30:31 -07:00
Xiang Li
177854c3e1
add test package. do not compile test codes with etcd
2013-08-17 08:30:31 -07:00
Xiang Li
cb33641f5f
clean up
2013-08-17 08:30:30 -07:00
Fabrizio (Misto) Milo
6299f316f1
use check util
2013-08-13 11:52:55 -07:00
Fabrizio (Misto) Milo
3102420542
use infof instead of fmt.Printf
2013-08-13 11:52:55 -07:00
Fabrizio (Misto) Milo
339d8b435d
move to util
2013-08-13 11:52:55 -07:00
Xiang Li
58e9e0c557
add comments in snapshot.go
2013-08-12 10:41:44 -07:00
Xiang Li
32d1681b6b
change name to url in http handlers
2013-08-12 10:16:30 -07:00
Xiang Li
ba697f6ac9
fix web
2013-08-10 16:20:00 -07:00
Cong Ding
13af54fdd0
revise log handling
...
All the log-related operations are calling functions in util.go. This makes
the consistancy of the logs.
2013-08-01 23:28:03 +02:00
Cong Ding
fd1d908e79
fix typos
2013-07-16 01:04:41 +02:00
Xiang Li
f5796244b4
clean up etcd.go
2013-07-09 20:37:00 -07:00
Xiang Li
5749b9db50
clean up transporter.go
2013-07-09 14:55:45 -07:00
Xiang Li
2589a76d66
add [etcd] as the prefix of the logging info
2013-07-09 09:26:38 -07:00
Xiang Li
e2f0420862
change imports to coreos/etcd coreos/go-raft; change API to work with new go-raft
2013-07-08 09:41:04 -07:00
Xiang Li
6edce10980
close resp body, close snapshot
2013-07-03 11:22:52 -07:00
Xiang Li
c2f436a58b
fix redirect after seprate client and server pot
2013-06-28 15:37:29 -07:00
Xiang Li
e3d556c319
seprate client and server port
2013-06-28 14:17:16 -07:00