Ben Johnson
174b9ff343
bump(github.com/goraft/raft): 6bf34b9
...
Move from coreos/raft to goraft/raft and update to latest.
2014-03-24 15:09:47 -07:00
Ben Johnson
7d4fda550d
Machine join/remove v2 API.
2014-03-18 16:25:21 -06:00
Ben Johnson
e9a1ac15d9
Allow partial cluster config updates.
2014-03-10 16:05:03 -07:00
Ben Johnson
3fff1a8dcd
Add /machines and /machines/:name endpoints.
2014-03-06 15:11:31 -07:00
Ben Johnson
3cd83c61c4
Fix PUT /config response and log errors.
2014-03-06 13:35:46 -07:00
Ben Johnson
c8d6b26dfd
Add auto-demotion after peer inactivity.
2014-03-03 11:15:05 -07:00
Ben Johnson
f5698d3566
Proxy promotion.
2014-02-24 17:01:04 -07:00
Ben Johnson
1d961b8e56
Add proxy mode.
2014-02-22 15:02:20 -07:00
Brandon Philips
76da437f29
bump(github.com/coreos/raft): ef3280ce54f60fff98a72012f547ed2b3415841f
2014-02-07 11:19:23 -08:00
Brandon Philips
8687dd3802
feat(discovery): fully working discovery now
2014-02-05 09:27:39 -08:00
Brandon Philips
69922340f6
refactor(server): move utilities into pkg
...
like camlistore lets move these utilities into a `pkg` prefix.
2014-02-05 09:27:39 -08:00
Brandon Philips
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
Brandon Philips
0566bf2d5d
Revert "Fix compile bug in peer_server_handlers.go "
...
This reverts commit e1ed380f043b063ee36edb92ffe21d49819168e0.
2014-02-01 20:09:53 -08:00
augustoroman
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
Brian Waldon
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
Brian Waldon
a93d60be90
refactor(cors): Break apart CORS data and middleware
2014-01-22 11:17:26 -08:00
Brian Waldon
9c8a23c333
refactor(PeerServer): Use a config struct in PeerServer
2014-01-22 11:17:03 -08:00
Brian Waldon
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
Xiang Li
8a0496cfae
bump deps
2013-11-22 08:59:24 -08:00
Xiang Li
eb2fbcb575
feat use-raft-protobuf
2013-11-02 21:50:35 -07:00
Ben Johnson
ddf527e092
Add version upgrade endpoint.
2013-10-29 15:49:10 -06:00
Ben Johnson
aa9ae32998
Internal versioning.
2013-10-27 14:09:40 -06:00
Xiang Li
acbc0c8846
refactor return http status 201 Created when creating a new node
2013-10-19 19:57:36 -07:00
Ben Johnson
e7598075ac
Use raft.Server interface.
2013-10-14 13:51:20 -06:00
Xiang Li
ef74464aea
refactor remove extra function
2013-10-13 23:09:52 -07:00
Xiang Li
090d049b81
refactor move raft http handlers to peer_server_handlers.go
2013-10-13 22:50:51 -07:00