d7d20d1c3d
bump(github.com/stretchr/testify): 9cc77fa25329013ce07362c7742952ff887361f2
2014-02-02 16:57:36 -08:00
13b6c1e684
chore(*): make everything use goven
...
for i in github.com/BurntSushi/toml github.com/coreos/go-etcd/etcd github.com/coreos/go-log/log github.com/gorilla/context github.com/rcrowley/go-metrics bitbucket.org/kardianos/osext github.com/coreos/go-systemd/journal github.com/coreos/raft code.google.com/p/goprotobuf/proto ; do goven -copy -rewrite $i; done
2014-02-01 23:44:18 -08:00
ea8a353545
chore(*): gofmt everything
2014-02-01 23:44:10 -08:00
0566bf2d5d
Revert "Fix compile bug in peer_server_handlers.go "
...
This reverts commit e1ed380f04
.
2014-02-01 20:09:53 -08:00
e1ed380f04
Fix compile bug in peer_server_handlers.go
...
resp.Success is a func() bool, not a bool. Call it.
2014-01-30 15:31:36 -08:00
2fe22f1890
refactor(servers): emit http.Handlers from *Server
2014-01-22 11:17:58 -08:00
089021ca6d
refacotor(transporter): make TLS config explicit
2014-01-22 11:17:58 -08:00
f158dfcd77
refactor(peerserver): Remove PeerServerConfig.Path
2014-01-22 11:17:58 -08:00
19980a7033
refactor(peerserver): remove timeouts from PeerServerConfig
2014-01-22 11:17:58 -08:00
a7d9efa900
refactor(server): Remove ServerConfig struct
2014-01-22 11:17:58 -08:00
0abd860f7e
refactor(server): drop Serve code; rename cors object
...
* server/cors.go renamed to http/cors.go
* all CORS code removed from Server and PeerServer
* Server and PeerServer fulfill http.Handler, now passed to http.Serve
* non-HTTP code in PeerServer.Serve moved to PeerServer.Start
2014-01-22 11:17:57 -08:00
5c3a3db2d8
refactor(server): treat Server as an http.Handler
2014-01-22 11:17:57 -08:00
074099a1b2
refactor(cors): Simplify corsInfo struct
2014-01-22 11:17:57 -08:00
a2ee620394
refactor(raft): init raft transporter & server in main
2014-01-22 11:17:56 -08:00
ffa2b07dc4
refactor(transporter): Pass in everything the transporter needs
2014-01-22 11:17:43 -08:00
60bbc57aeb
refactor(transporter): pass in timeouts
2014-01-22 11:17:43 -08:00
86718167e8
refactor(peer_server): move stats construction to factories
2014-01-22 11:17:42 -08:00
7bd4d05a38
refactor(peer-server): move listener init out of peer_server.go
2014-01-22 11:17:41 -08:00
d0c4916fe9
refactor(server): move listener init out of server.go
2014-01-22 11:17:26 -08:00
91fc6aabd2
chore(gofmt): Run gofmt
2014-01-22 11:17:26 -08:00
c0ff8f6026
chore(imports): Shift around some imports
2014-01-22 11:17:26 -08:00
a93d60be90
refactor(cors): Break apart CORS data and middleware
2014-01-22 11:17:26 -08:00
c47760382e
refactor(Server): Use a config struct in Server
2014-01-22 11:17:25 -08:00
9c8a23c333
refactor(PeerServer): Use a config struct in PeerServer
2014-01-22 11:17:03 -08:00
91f768f9ae
refactor(cors): Rename cors_handler.go to cors.go
2014-01-22 10:59:12 -08:00
97bc5b260d
feat(metrics): Publish peer heartbeat events as metrics
2014-01-21 11:44:22 -08:00
7eaad5c8e0
feat(metrics): enable some metrics; push to graphite
...
* -trace flag controls whether or not to enable metrics-gathering
and the /debug/* HTTP endpoints
* -graphite-host flag controls where metrics should be sent
* timer.ae.handle metric tracks execution time of AppendEntriesRequest
2014-01-20 15:39:36 -08:00
7a7f6aea00
Merge pull request #479 from philips/add-debug-endpoint
...
add-debug-endpoint
2014-01-16 11:28:52 -08:00
c2077ed0b6
feat(server): add net/http/pprof endpoints
...
Add some basic profiling endpoints over http to start digging into
memory and request latencies.
2014-01-15 15:03:29 -08:00
d9088a5f18
Merge pull request #473 from bcwaldon/fix-peer-timeouts
...
Use election and heartbeat timeouts when building peer transporter
2014-01-15 02:11:40 -08:00
e2e0853492
fix(server/release_version): checkin to git
2014-01-14 22:14:47 -08:00
48e36422b5
chore(gofmt): Run gofmt on server/config.go
2014-01-14 09:18:09 -08:00
32df6f92fc
fix(peer): Pass peer server timeouts through factory
...
The peer's heartbeat and election timeouts are needed to build
the transporter in the factory method.
2014-01-14 09:18:03 -08:00
ae2130952b
fix(config): Set VeryVerbose properly
2014-01-10 11:45:04 -08:00
b0cdf73565
feat(logging): Add VeryVeryVerbose opt to control raft trace info
...
Set very_very_verbose=true in a config file or use the -vvv CLI
option to get raft trace logs in addition to etcd debug logs.
2014-01-10 11:45:04 -08:00
c64c739fab
Merge pull request #461 from xiangli-cmu/stream_watcher
...
feat(stream watchers) add stream watcher support
2014-01-10 08:42:31 -08:00
5b924dfd4e
feat(stream watchers) disable double chunking
2014-01-10 15:09:35 +02:00
f250649a5e
fix(snapshot) count num of log entries rather than etcd transcations
2014-01-09 21:28:09 +08:00
c247d807af
feat(stream watchers) end streaming if too many notifications
2014-01-09 14:15:36 +02:00
22a25a18b3
feat(stream watchers) add stream watcher support
2014-01-09 15:28:33 +08:00
6b77b94127
Merge pull request #420 from benbjohnson/logging
...
Logging
2014-01-08 21:36:52 -08:00
2bfb8f5e4f
Merge pull request #418 from xiangli-cmu/cancel_watcher
...
cancel watcher
2014-01-08 21:34:32 -08:00
fa3b4a7941
refactor(watcher) change newWatcher to Watch
2014-01-09 13:29:04 +08:00
53477af1eb
Merge branch 'master' of https://github.com/coreos/etcd into logging
2014-01-08 16:50:51 -07:00
b47042634a
Add ThresholdMonitorTimeout.
2014-01-08 15:51:13 -07:00
88e0263d08
Add heartbeat and timeout threshold loggers.
2014-01-07 16:17:48 -07:00
60c2680bfd
fix(peer_server.go) init name field and update leader field
2014-01-07 12:30:20 +08:00
ecc96df699
chore(server): remove web url
...
web URL is not longer used so remove it from tests and configuration
documents.
2014-01-05 20:39:39 -08:00
d7087ed61a
Merge branch 'master' of https://github.com/coreos/etcd into logging
2014-01-02 16:30:09 -07:00
5b105ed156
fix deprecated option tests
2014-01-02 11:11:27 -06:00