Yicheng Qin
89d3df242c
chore(server): handle HEAD for key space efficiently
...
Implement HEAD in server/v1 and server/v2 functions to avoid
time wasting on JSON marhsal.
2014-04-07 18:55:07 -07:00
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
1d961b8e56
Add proxy mode.
2014-02-22 15:02:20 -07: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
Cenk Alti
5b924dfd4e
feat(stream watchers) disable double chunking
2014-01-10 15:09:35 +02:00
Cenk Alti
c247d807af
feat(stream watchers) end streaming if too many notifications
2014-01-09 14:15:36 +02:00
Xiang Li
22a25a18b3
feat(stream watchers) add stream watcher support
2014-01-09 15:28:33 +08:00
Xiang Li
2bfb8f5e4f
Merge pull request #418 from xiangli-cmu/cancel_watcher
...
cancel watcher
2014-01-08 21:34:32 -08:00
Xiang Li
fa3b4a7941
refactor(watcher) change newWatcher to Watch
2014-01-09 13:29:04 +08:00
Xiang Li
5e499456f0
init cancel watcher
2013-12-26 22:06:15 +08:00
Xiang Li
ef988020b7
fix(event_history) fix a bug in event queue
2013-12-22 15:42:10 -08:00
Xiang Li
ded3cc24c0
fix redirect url should include rawquery
2013-12-02 22:53:36 -05:00
Brandon Philips
72bf216cb4
fix(server/v2): redirect to ClientURL not PeerURL
...
If consistent is set you must redirect the client to the leader's
ClientURL not the PeerURL.
2013-12-02 18:20:11 -08:00
Xiang Li
8a0496cfae
bump deps
2013-11-22 08:59:24 -08:00
Xiang Li
1d34c82643
fix set content-type to application/json
2013-11-16 20:48:44 -08:00
Xiang Li
d8e5994c35
feat attach etcd-index,raft-index,raft-term to header
2013-11-09 20:20:47 -08:00
Xiang Li
6156d5c790
refactor separate etcd index from raft index
2013-11-09 17:55:54 -08:00
Xiang Li
0372cdea23
refactor move sync command into etcd
2013-11-08 16:00:58 -08:00
Xiang Li
5a4e764d7a
refactor add comments for receiving expire commands
2013-11-08 13:24:23 -08:00
Xiang Li
b4f4528ef4
feat upgrade get_handler
2013-11-07 22:29:15 -08:00
Xiang Li
63456b5c4b
fix close connection when client leaves
2013-10-22 00:17:58 -07:00
Xiang Li
2aeb25e80c
refactor change handler name to its method
2013-10-14 22:38:07 -07:00